public interface IClientMsg
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(byte[] data)
Initializes this client message by deserializing the specified data.
|
EMsg |
getMsgType()
Gets the network message type of this client message.
|
int |
getSessionID()
Gets the session id for this client message.
|
JobID |
getSourceJobID()
Gets the source job id for this client message.
|
SteamID |
getSteamID()
Gets the
SteamID for this client message. |
JobID |
getTargetJobID()
Gets the target job id for this client message.
|
boolean |
isProto()
Gets a value indicating whether this client message is protobuf backed.
|
byte[] |
serialize()
serializes this client message instance to a byte array.
|
void |
setSessionID(int sessionID)
Sets the session id for this client message.
|
void |
setSourceJobID(JobID jobID)
Sets the source job id for this client message.
|
void |
setSteamID(SteamID steamID)
Sets the
SteamID for this client message. |
void |
setTargetJobID(JobID jobID)
Sets the target job id for this client message.
|
boolean isProto()
EMsg getMsgType()
int getSessionID()
void setSessionID(int sessionID)
sessionID - The session id.void setSteamID(SteamID steamID)
SteamID for this client message.steamID - The SteamID.JobID getTargetJobID()
void setTargetJobID(JobID jobID)
jobID - The target job id.JobID getSourceJobID()
void setSourceJobID(JobID jobID)
jobID - The source job id.byte[] serialize()
void deserialize(byte[] data)
data - The data representing a client message.