public class PacketGateManager extends SpongePacketManager
Modifier and Type | Class and Description |
---|---|
class |
PacketGateManager.PacketGateListener |
Constructor and Description |
---|
PacketGateManager() |
Modifier and Type | Method and Description |
---|---|
AbstractPacket |
onPacketReceive(NPacket packet,
org.spongepowered.api.entity.living.player.server.ServerPlayer sender,
Object nmsPacket,
eu.crushedpixel.sponge.packetgate.api.event.PacketEvent event) |
AbstractPacket |
onPacketSent(NPacket packet,
org.spongepowered.api.entity.living.player.server.ServerPlayer sender,
Object nmsPacket,
eu.crushedpixel.sponge.packetgate.api.event.PacketEvent event) |
notifyHandlersReceive, notifyHandlersSent
addPlayer, clear, load, removePlayer
public AbstractPacket onPacketSent(NPacket packet, org.spongepowered.api.entity.living.player.server.ServerPlayer sender, Object nmsPacket, eu.crushedpixel.sponge.packetgate.api.event.PacketEvent event)
public AbstractPacket onPacketReceive(NPacket packet, org.spongepowered.api.entity.living.player.server.ServerPlayer sender, Object nmsPacket, eu.crushedpixel.sponge.packetgate.api.event.PacketEvent event)