IPacketGCMsg

interface IPacketGCMsg

Represents a simple unified interface into game coordinator messages recieved from the network. This is contrasted with IClientGCMsg in that this interface is packet body agnostic and only allows simple access into the header. This interface is also immutable, and the underlying data cannot be modified.

Inheritors

Functions

Link copied to clipboard
abstract fun getData(): Array<Byte>
Gets the underlying data that represents this client message.
Link copied to clipboard
abstract fun getMsgType(): Int
Gets the network message type of this packet message.
Link copied to clipboard
abstract fun getSourceJobID(): JobID
Gets the source job id for this packet message.
Link copied to clipboard
abstract fun getTargetJobID(): JobID
Gets the target job id for this packet message.
Link copied to clipboard
abstract fun isProto(): Boolean
Gets a value indicating whether this packet message is protobuf backed.