Skip to main content

user.effect_added

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

Overview

  • ID: 2867
  • Header: USER_EFFECT_LIST_ADD
  • Direction: Server to Client (s2c)
  • Realm: Inventory
  • Phase: session
  • Since: nitro-1.6.6
  • Summary: Notify that a new avatar effect has been added to inventory

Payload fields

FieldTypeRequiredDescription
typeint32requiredAvatar effect type identifier
subTypeint32requiredEffect sub-type identifier
durationint32requiredEffect duration in seconds
isPermanentbooleanrequiredWhether the effect never expires

Behavior

Sender

Sent when the user receives a new avatar effect (e.g. from a purchase or gift). The client appends the effect to the local inventory without requesting a full refresh.

Receiver

The client adds the new effect entry to the inventory panel and may show a notification.

Notes

  • No additional notes