Skip to main content

catalog.purchase_gift

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

Overview

  • ID: 1411
  • Header: CATALOG_PURCHASE_GIFT
  • Direction: Client to Server (c2s)
  • Realm: Catalog & Store
  • Phase: session
  • Since: nitro-1.6.6
  • Summary: Purchase a catalog item as a gift for another user

Payload fields

FieldTypeRequiredDescription
pageIdint32requiredCatalog page of the offer.
itemIdint32requiredOffer identifier.
extraDatastringrequiredExtra data (e.g. pet name).
receiverNamestringrequiredUsername of the gift recipient.
giftMessagestringrequiredPersonal message to include with the gift.
spriteIdint32requiredGift wrapping paper sprite.
boxIdint32requiredGift box style identifier.
ribbonIdint32requiredRibbon style identifier.
showMyFacebooleanrequiredWhether to include the sender's avatar face on the gift.

Behavior

Sender

Sent when the user sends a gift to another user. The server wraps the item and delivers it to the recipient.

Receiver

The server responds with catalog.purchase_ok (s2c 869) or an error. Confirmed in GLADIATOR.

Notes

  • No additional notes