public class PacketClientGCMsgProtobuf extends java.lang.Object implements IPacketGCMsg
| Constructor and Description |
|---|
PacketClientGCMsgProtobuf(int eMsg,
byte[] data)
Initializes a new instance of the
PacketClientGCMsgProtobuf class. |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData()
Gets the underlying data that represents this client message.
|
int |
getMsgType()
Gets the network message type of this packet message.
|
JobID |
getSourceJobID()
Gets the source job id for this packet message.
|
JobID |
getTargetJobID()
Gets the target job id for this packet message.
|
boolean |
isProto()
Gets a value indicating whether this packet message is protobuf backed.
|
public PacketClientGCMsgProtobuf(int eMsg,
byte[] data)
PacketClientGCMsgProtobuf class.eMsg - The network message type for this packet message.data - The data.public boolean isProto()
IPacketGCMsgisProto in interface IPacketGCMsgpublic int getMsgType()
IPacketGCMsggetMsgType in interface IPacketGCMsgpublic JobID getTargetJobID()
IPacketGCMsggetTargetJobID in interface IPacketGCMsgpublic JobID getSourceJobID()
IPacketGCMsggetSourceJobID in interface IPacketGCMsgpublic byte[] getData()
IPacketGCMsggetData in interface IPacketGCMsg