IClientMsg

interface IClientMsg

Represents a unified interface into client messages.

Inheritors

Functions

Link copied to clipboard
abstract fun deserialize(data: Array<Byte>)
Initializes this client message by deserializing the specified data.
Link copied to clipboard
abstract fun getMsgType(): EMsg
Gets the network message type of this client message.
Link copied to clipboard
abstract fun getSessionID(): Int
Gets the session id for this client message.
Link copied to clipboard
abstract fun getSourceJobID(): JobID
Gets the source job id for this client message.
Link copied to clipboard
abstract fun getSteamID(): SteamID
Gets the SteamID for this client message.
Link copied to clipboard
abstract fun getTargetJobID(): JobID
Gets the target job id for this client message.
Link copied to clipboard
abstract fun isProto(): Boolean
Gets a value indicating whether this client message is protobuf backed.
Link copied to clipboard
abstract fun serialize(): Array<Byte>
serializes this client message instance to a byte array.
Link copied to clipboard
abstract fun setSessionID(sessionID: Int)
Sets the session id for this client message.
Link copied to clipboard
abstract fun setSourceJobID(jobID: JobID)
Sets the source job id for this client message.
Link copied to clipboard
abstract fun setSteamID(steamID: SteamID)
Sets the SteamID for this client message.
Link copied to clipboard
abstract fun setTargetJobID(jobID: JobID)
Sets the target job id for this client message.