跳转至

PurchaseReceiptPacket

文档版本:r/20_u8
协议版本:671

PurchaseReceiptPacket数据包,数字ID是92。该数据包用于protocol.packet.purchasereceiptpacket.description

结构

digraph "PurchaseReceiptPacket" {
rankdir = LR
0
0 -> 1
1 -> 2
2 -> 3
1 -> 4
4 -> 5
5 -> 6

0 [label="PurchaseReceiptPacket",comment="name: \"PurchaseReceiptPacket\", typeName: \"\", id: 0, branchId: 92, recurseId: -1, attributes: 0, notes: \"\""];
1 [label="Purchase Receipts",comment="name: \"Purchase Receipts\", typeName: \"\", id: 1, branchId: 0, recurseId: -1, attributes: 8, notes: \"\""];
2 [label="Array Size",comment="name: \"Array Size\", typeName: \"\", id: 2, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
3 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 3, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
4 [label="example element",style=dotted,comment="name: \"example element\", typeName: \"\", id: 4, branchId: 0, recurseId: -1, attributes: 16, notes: \"\""];
5 [label="Proof of Purchase",comment="name: \"Proof of Purchase\", typeName: \"\", id: 5, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
6 [label="string",comment="name: \"string\", typeName: \"\", id: 6, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;3;6}

}

字段

PurchaseReceiptPacket
[purchase_receipts]
Purchase Receipts
[array_size][[example_element]..]
数组大小:unsigned varint
基本类型。protocol.packet.purchasereceiptpacket.purchase_receipts.array_size.description
示例元素
[proof_of_purchase]
Proof of Purchase:string
特殊类型。protocol.packet.purchasereceiptpacket.purchase_receipts.example_element.proof_of_purchase.description