Skip to main content

user.pets

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

Overview

  • ID: 3522
  • Header: USER_PETS
  • Direction: Server to Client (s2c)
  • Realm: Inventory
  • Phase: session
  • Since: nitro-1.6.6
  • Summary: Deliver the player's pet inventory

Payload fields

FieldTypeRequiredDescription
totalFragmentsint32requiredTotal number of fragments.
fragmentNumberint32requiredZero-based fragment index.
petslist<object>requiredPet entries each containing id (int32), name (string), figureData (object with typeId, paletteId, color, breedId, customParts), and level (int32).

Behavior

Sender

Sent in response to a pet inventory request. Large pet inventories are fragmented.

Receiver

The client accumulates all fragments and renders the pet list when complete.

Notes

  • No additional notes