public class AClientMsgProtobuf extends MsgBase<MsgHdrProtoBuf>
payload| Constructor and Description |
|---|
AClientMsgProtobuf(IPacketMsg msg)
Initializes a new instance of the
AClientMsgProtobuf class. |
| 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.
|
in.dragonbra.javasteam.protobufs.steamclient.SteammessagesBase.CMsgProtoBufHeader.Builder |
getProtoHeader() |
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.
|
getPayload, readByte, readBytes, readDouble, readFloat, readInt, readLong, readNullTermString, readNullTermString, readShort, seek, write, write, write, write, write, write, write, write, write, writeNullTermString, writeNullTermStringpublic AClientMsgProtobuf(IPacketMsg msg)
AClientMsgProtobuf class.
This is a recieve constructor.msg - The packet message to build this client message from.public in.dragonbra.javasteam.protobufs.steamclient.SteammessagesBase.CMsgProtoBufHeader.Builder getProtoHeader()
public boolean isProto()
IClientMsgpublic EMsg getMsgType()
IClientMsgpublic int getSessionID()
IClientMsgpublic void setSessionID(int sessionID)
IClientMsgsessionID - The session id.public SteamID getSteamID()
IClientMsgSteamID for this client message.SteamID.public void setSteamID(SteamID steamID)
IClientMsgSteamID for this client message.steamID - The SteamID.public JobID getTargetJobID()
IClientMsgpublic void setTargetJobID(JobID jobID)
IClientMsgjobID - The target job id.public JobID getSourceJobID()
IClientMsgpublic void setSourceJobID(JobID jobID)
IClientMsgjobID - The source job id.public byte[] serialize()
IClientMsgpublic void deserialize(byte[] data)
IClientMsgdata - The data representing a client message.