AddItemActorPacket¶
文档版本:r/21_u4
协议版本:748
AddItemActorPacket数据包,数字ID是15
。该数据包用于protocol.packet.additemactorpacket.description
结构¶
digraph "AddItemActorPacket" {
rankdir = LR
0
0 -> 1
1 -> 2
0 -> 3
3 -> 4
0 -> 5
5 -> 6
0 -> 7
7 -> 8
0 -> 9
9 -> 10
0 -> 11
11 -> 12
0 -> 13
13 -> 14
0 [label="AddItemActorPacket",comment="name: \"AddItemActorPacket\", typeName: \"\", id: 0, branchId: 15, recurseId: -1, attributes: 0, notes: \"\""];
1 [label="Target Actor ID",comment="name: \"Target Actor ID\", typeName: \"ActorUniqueID\", id: 1, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
2 [label="ActorUniqueID",comment="name: \"ActorUniqueID\", typeName: \"\", id: 2, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
3 [label="Target Runtime ID",comment="name: \"Target Runtime ID\", typeName: \"ActorRuntimeID\", id: 3, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
4 [label="ActorRuntimeID",comment="name: \"ActorRuntimeID\", typeName: \"\", id: 4, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
5 [label="Item",comment="name: \"Item\", typeName: \"NetworkItemStackDescriptor\", id: 5, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
6 [label="NetworkItemStackDescriptor",comment="name: \"NetworkItemStackDescriptor\", typeName: \"\", id: 6, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
7 [label="Position",comment="name: \"Position\", typeName: \"Vec3\", id: 7, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
8 [label="Vec3",comment="name: \"Vec3\", typeName: \"\", id: 8, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
9 [label="Velocity",comment="name: \"Velocity\", typeName: \"Vec3\", id: 9, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
10 [label="Vec3",comment="name: \"Vec3\", typeName: \"\", id: 10, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
11 [label="Entity Data",comment="name: \"Entity Data\", typeName: \"std::vector<class std::unique_ptr<class DataItem,struct std::default_delete<class DataItem> >,class std::allocator<class std::unique_ptr<class DataItem,struct std::default_delete<class DataItem> > > >\", id: 11, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
12 [label="std::vector<class std::unique_ptr<class DataItem,struct std::default_delete<class DataItem> >,class std::allocator<class std::unique_ptr<class DataItem,struct std::default_delete<class DataItem> > > >",comment="name: \"std::vector<class std::unique_ptr<class DataItem,struct std::default_delete<class DataItem> >,class std::allocator<class std::unique_ptr<class DataItem,struct std::default_delete<class DataItem> > > >\", typeName: \"\", id: 12, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
13 [label="From Fishing?",comment="name: \"From Fishing?\", typeName: \"\", id: 13, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
14 [label="bool",comment="name: \"bool\", typeName: \"\", id: 14, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;2;4;6;8;10;12;14}
}
字段¶
AddItemActorPacket
[target_actor_id][target_runtime_id][item][position][velocity][entity_data][from_fishing]
- Target Actor ID:ActorUniqueID
- 特殊类型。protocol.packet.additemactorpacket.target_actor_id.description
- Target Runtime ID:ActorRuntimeID
- 特殊类型。protocol.packet.additemactorpacket.target_runtime_id.description
- Item:NetworkItemStackDescriptor
- 特殊类型。protocol.packet.additemactorpacket.item.description
- Position:Vec3
- 特殊类型。protocol.packet.additemactorpacket.position.description
- Velocity:Vec3
- 特殊类型。protocol.packet.additemactorpacket.velocity.description
- Entity Data:std::vector<std::unique_ptr<DataItem>>
- 特殊类型。protocol.packet.additemactorpacket.entity_data.description
- From Fishing?:bool
- 基本类型。protocol.packet.additemactorpacket.from_fishing.description