Skip to main content

pet.figure_update

Generated from spec/protocol.yaml. Do not edit by hand.

Overview

  • ID: 1924
  • Header: PET_FIGURE_UPDATE
  • Direction: Server to Client (s2c)
  • Realm: Pets
  • Phase: session
  • Since: nitro-1.6.6
  • Summary: Update a pet's visual figure in the room

Payload fields

FieldTypeRequiredDescription
roomIndexint32requiredRoom entity index of the pet.
petIdint32requiredPet identifier.
figureDataobjectrequiredPet figure data containing typeId, paletteId, color, breedId, and customParts.
hasSaddlebooleanrequiredWhether a saddle is shown.
isRidingbooleanrequiredWhether someone is riding the pet.

Behavior

Sender

Sent when a pet's appearance changes (saddle added/removed, riding state change).

Receiver

The client updates the pet sprite in the room.

Notes

  • No additional notes