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