Skip to main content

pet.experience

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

Overview

  • ID: 2156
  • Header: PET_EXPERIENCE
  • Direction: Server to Client (s2c)
  • Realm: Pets
  • Phase: session
  • Since: nitro-1.6.6
  • Summary: Show experience gained by a pet

Payload fields

FieldTypeRequiredDescription
petIdint32requiredPet identifier.
roomIndexint32requiredRoom entity index.
gainedExperienceint32requiredAmount of experience gained.

Behavior

Sender

Sent when a pet gains experience from an interaction.

Receiver

The client displays a floating experience bubble on the pet.

Notes

  • No additional notes