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