YATS/Forge Documentation
|
Public Member Functions | |
void | onPacketData (INetworkManager manager, Packet250CustomPayload packet, Player player) |
void YATS.common.ServerPacketHandler.onPacketData | ( | INetworkManager | manager, |
Packet250CustomPayload | packet, | ||
Player | player | ||
) |
Recieve a packet from one of the registered channels for this packet handler
manager | The network manager this packet arrived from |
packet | The packet itself |
player | A dummy interface representing the player - it can be cast into a real player instance if needed |
Implements cpw.mods.fml.common.network.IPacketHandler.