Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## cpw.mods.fml.common.modloader
Class ModLoaderPacketHandler

    java.lang.Object
      cpw.mods.fml.common.modloader.ModLoaderPacketHandler

All Implemented Interfaces:
  IPacketHandler

    public class ModLoaderPacketHandler

extends Object
implements IPacketHandler

Constructor Summary
`ModLoaderPacketHandler(BaseModProxy mod)`

Method Summary
`void` | `onPacketData(NetworkManager manager, Packet250CustomPayload packet, Player player)` Recieve a packet from one of the registered channels for this packet handler

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ModLoaderPacketHandler

    public ModLoaderPacketHandler(BaseModProxy mod)

Method Detail

### onPacketData

    public void onPacketData(NetworkManager manager,
                             Packet250CustomPayload packet,
                             Player player)

  Description copied from interface: `IPacketHandler`
  Recieve a packet from one of the registered channels for this packet handler

  Specified by:
    `onPacketData` in interface `IPacketHandler`
  Parameters:
    `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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD