Constructs a new StopGameCmd.
Optional properties: IStopGameCmdProperties to set
StopGameCmd eventId.
StopGameCmd spaceId.
Static createCreates a new StopGameCmd instance using the specified properties.
Optional properties: IStopGameCmdProperties to set
StopGameCmd instance
Static decodeDecodes a StopGameCmd 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
StopGameCmd
Static decodeDecodes a StopGameCmd 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
StopGameCmd
Static encodeEncodes the specified StopGameCmd message. Does not implicitly verify messages.
StopGameCmd message or plain object to encode
Optional writer: anyWriter to encode to
Writer
Static encodeEncodes the specified StopGameCmd message, length delimited. Does not implicitly verify messages.
StopGameCmd message or plain object to encode
Optional writer: anyWriter to encode to
Writer
Static fromCreates a StopGameCmd message from a plain object. Also converts values to their respective internal types.
Plain object
StopGameCmd
Static toCreates a plain object from a StopGameCmd message. Also converts values to other types if specified.
StopGameCmd
Optional options: anyConversion options
Plain object
Static verifyGenerated using TypeDoc
Represents a StopGameCmd.