Interface PlayerManager
public interface PlayerManager
-
Method Summary
Modifier and TypeMethodDescriptiongetChannel
(@NotNull Object player) @NotNull ClientVersion
getClientVersion
(@NotNull Object player) default ConnectionState
getConnectionState
(@NotNull Object player) int
default void
receivePacket
(Object player, PacketWrapper<?> wrapper) default void
receivePacket
(Object player, Object byteBuf) default void
receivePacketSilently
(Object player, PacketWrapper<?> wrapper) default void
receivePacketSilently
(Object player, Object byteBuf) default void
sendPacket
(@NotNull Object player, @NotNull PacketWrapper<?> wrapper) default void
sendPacket
(@NotNull Object player, @NotNull Object byteBuf) default void
sendPacketSilently
(@NotNull Object player, @NotNull PacketWrapper<?> wrapper) default void
sendPacketSilently
(@NotNull Object player, @NotNull Object byteBuf) default void
writePacket
(@NotNull Object player, @NotNull PacketWrapper<?> wrapper) default void
writePacket
(@NotNull Object player, @NotNull Object byteBuf) default void
writePacketSilently
(@NotNull Object player, @NotNull PacketWrapper<?> wrapper) default void
writePacketSilently
(@NotNull Object player, @NotNull Object byteBuf)
-
Method Details
-
getPing
-
getClientVersion
-
getChannel
-
getUser
-
getConnectionState
-
sendPacket
-
sendPacket
default void sendPacket(@NotNull @NotNull Object player, @NotNull @NotNull PacketWrapper<?> wrapper) -
sendPacketSilently
-
sendPacketSilently
default void sendPacketSilently(@NotNull @NotNull Object player, @NotNull @NotNull PacketWrapper<?> wrapper) -
writePacket
-
writePacket
default void writePacket(@NotNull @NotNull Object player, @NotNull @NotNull PacketWrapper<?> wrapper) -
writePacketSilently
-
writePacketSilently
default void writePacketSilently(@NotNull @NotNull Object player, @NotNull @NotNull PacketWrapper<?> wrapper) -
receivePacket
-
receivePacket
-
receivePacketSilently
-
receivePacketSilently
-