Interface PlayerManager


public interface PlayerManager
  • Method Details

    • getPing

      int getPing(@NotNull @NotNull Object player)
    • getClientVersion

      @NotNull @NotNull ClientVersion getClientVersion(@NotNull @NotNull Object player)
    • getChannel

      Object getChannel(@NotNull @NotNull Object player)
    • getUser

      User getUser(@NotNull @NotNull Object player)
    • getConnectionState

      default ConnectionState getConnectionState(@NotNull @NotNull Object player)
    • sendPacket

      default void sendPacket(@NotNull @NotNull Object player, @NotNull @NotNull Object byteBuf)
    • sendPacket

      default void sendPacket(@NotNull @NotNull Object player, @NotNull @NotNull PacketWrapper<?> wrapper)
    • sendPacketSilently

      default void sendPacketSilently(@NotNull @NotNull Object player, @NotNull @NotNull Object byteBuf)
    • sendPacketSilently

      default void sendPacketSilently(@NotNull @NotNull Object player, @NotNull @NotNull PacketWrapper<?> wrapper)
    • writePacket

      default void writePacket(@NotNull @NotNull Object player, @NotNull @NotNull Object byteBuf)
    • writePacket

      default void writePacket(@NotNull @NotNull Object player, @NotNull @NotNull PacketWrapper<?> wrapper)
    • writePacketSilently

      default void writePacketSilently(@NotNull @NotNull Object player, @NotNull @NotNull Object byteBuf)
    • writePacketSilently

      default void writePacketSilently(@NotNull @NotNull Object player, @NotNull @NotNull PacketWrapper<?> wrapper)
    • receivePacket

      default void receivePacket(Object player, Object byteBuf)
    • receivePacket

      default void receivePacket(Object player, PacketWrapper<?> wrapper)
    • receivePacketSilently

      default void receivePacketSilently(Object player, Object byteBuf)
    • receivePacketSilently

      default void receivePacketSilently(Object player, PacketWrapper<?> wrapper)