Interface OutboundPacket<W,P,I,E>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface OutboundPacket<W,P,I,E>
  • Method Details

    • schedule

      void schedule(@NotNull P player, @NotNull @NotNull Npc<W,P,I,E> npc)
    • scheduleForTracked

      default void scheduleForTracked(@NotNull @NotNull Npc<W,P,I,E> npc)
    • schedule

      default void schedule(@NotNull @NotNull Function<Npc<W,P,I,E>,Collection<P>> extractor, @NotNull @NotNull Npc<W,P,I,E> npc)
    • schedule

      default void schedule(@NotNull @NotNull Collection<P> players, @NotNull @NotNull Npc<W,P,I,E> npc)
    • toSpecific

      @NotNull default @NotNull NpcSpecificOutboundPacket<W,P,I,E> toSpecific(@NotNull @NotNull Npc<W,P,I,E> targetNpc)