public class MessageContext
extends java.lang.Object
IMessageHandler
Modifier and Type | Field and Description |
---|---|
INetHandler |
netHandler
The
INetHandler for this message. |
Side |
side
The Side this message has been received on
|
Modifier and Type | Method and Description |
---|---|
NetHandlerPlayClient |
getClientHandler() |
NetHandlerPlayServer |
getServerHandler() |
public final INetHandler netHandler
INetHandler
for this message. It could be a client or server handler, depending
on the side
received.public final Side side
public NetHandlerPlayServer getServerHandler()
public NetHandlerPlayClient getClientHandler()