public abstract class PacketEvent extends PlayerEvent
Modifier and Type | Class and Description |
---|---|
static class |
PacketEvent.PacketSourceType |
Constructor and Description |
---|
PacketEvent(PacketEvent.PacketSourceType source,
AbstractPacket packet,
Player p) |
Modifier and Type | Method and Description |
---|---|
AbstractPacket |
getPacket() |
PacketEvent.PacketSourceType |
getPacketSourceType() |
boolean |
hasPlayer() |
getPlayer
public PacketEvent(PacketEvent.PacketSourceType source, AbstractPacket packet, Player p)
public boolean hasPlayer()
public AbstractPacket getPacket()
public PacketEvent.PacketSourceType getPacketSourceType()