Skip to main content

pet.level_update

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

Overview

  • ID: 2824
  • Header: PET_LEVEL_UPDATE
  • Direction: Server to Client (s2c)
  • Realm: Pets
  • Phase: session
  • Since: nitro-1.6.6
  • Summary: Notify that a pet leveled up in the room

Payload fields

FieldTypeRequiredDescription
roomIndexint32requiredRoom entity index of the pet.
petIdint32requiredPet identifier.
levelint32requiredNew level reached.

Behavior

Sender

Sent when a pet gains enough experience to advance to the next level.

Receiver

The client shows a level-up animation on the pet entity.

Notes

  • No additional notes