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