CompletedUsingItemPacket¶
文档版本:r/21_u4
协议版本:748
CompletedUsingItemPacket数据包,数字ID是142。该数据包用于protocol.packet.completedusingitempacket.description
结构¶
digraph "CompletedUsingItemPacket" {
rankdir = LR
0
0 -> 1
1 -> 2
0 -> 3
3 -> 4
0 [label="CompletedUsingItemPacket",comment="name: \"CompletedUsingItemPacket\", typeName: \"\", id: 0, branchId: 142, recurseId: -1, attributes: 0, notes: \"\""];
1 [label="Item Id",comment="name: \"Item Id\", typeName: \"\", id: 1, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
2 [label="short",comment="name: \"short\", typeName: \"\", id: 2, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
3 [label="Item Use Method",comment="name: \"Item Use Method\", typeName: \"\", id: 3, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
4 [label="int",comment="name: \"int\", typeName: \"\", id: 4, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;2;4}
}
字段¶
- Item Id:short
- 基本类型。protocol.packet.completedusingitempacket.item_id.description
- Item Use Method:int
- 基本类型枚举。protocol.packet.completedusingitempacket.item_use_method.description枚举值如下:
-
键 值 描述 Unknown-1protocol.enum.unknown EquipArmor0protocol.enum.equiparmor Eat1protocol.enum.eat Attack2protocol.enum.attack Consume3protocol.enum.consume Throw4protocol.enum.throw Shoot5protocol.enum.shoot Place6protocol.enum.place FillBottle7protocol.enum.fillbottle FillBucket8protocol.enum.fillbucket PourBucket9protocol.enum.pourbucket UseTool10protocol.enum.usetool Interact11protocol.enum.interact Retrieved12protocol.enum.retrieved Dyed13protocol.enum.dyed Traded14protocol.enum.traded BrushingCompleted15protocol.enum.brushingcompleted OpenedVault16protocol.enum.openedvault _Count17protocol.enum._count