Constructs a new PreStartGameCmd.
Optional
properties: IPreStartGameCmdProperties to set
PreStartGameCmd code.
PreStartGameCmd eventId.
PreStartGameCmd message.
PreStartGameCmd spaceId.
Static
createCreates a new PreStartGameCmd instance using the specified properties.
Optional
properties: IPreStartGameCmdProperties to set
PreStartGameCmd instance
Static
decodeDecodes a PreStartGameCmd message from the specified reader or buffer.
If the payload is not a reader or valid buffer
If required fields are missing
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
PreStartGameCmd
Static
decodeDecodes a PreStartGameCmd message from the specified reader or buffer, length delimited.
If the payload is not a reader or valid buffer
If required fields are missing
Reader or buffer to decode from
PreStartGameCmd
Static
encodeEncodes the specified PreStartGameCmd message. Does not implicitly verify messages.
PreStartGameCmd message or plain object to encode
Optional
writer: anyWriter to encode to
Writer
Static
encodeEncodes the specified PreStartGameCmd message, length delimited. Does not implicitly verify messages.
PreStartGameCmd message or plain object to encode
Optional
writer: anyWriter to encode to
Writer
Static
fromCreates a PreStartGameCmd message from a plain object. Also converts values to their respective internal types.
Plain object
PreStartGameCmd
Static
toCreates a plain object from a PreStartGameCmd message. Also converts values to other types if specified.
PreStartGameCmd
Optional
options: anyConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a PreStartGameCmd.