跳转至

SetActorDataPacket

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

SetActorDataPacket数据包,数字ID是39。该数据包用于protocol.packet.setactordatapacket.description

结构

digraph "SetActorDataPacket" {
rankdir = LR
0
0 -> 1
1 -> 2
0 -> 3
3 -> 4
0 -> 5
5 -> 6
0 -> 7
7 -> 8

0 [label="SetActorDataPacket",comment="name: \"SetActorDataPacket\", typeName: \"\", id: 0, branchId: 39, recurseId: -1, attributes: 0, notes: \"\""];
1 [label="Target Runtime ID",comment="name: \"Target Runtime ID\", typeName: \"ActorRuntimeID\", id: 1, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
2 [label="ActorRuntimeID",comment="name: \"ActorRuntimeID\", typeName: \"\", id: 2, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
3 [label="Actor Data",comment="name: \"Actor 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: 3, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
4 [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: 4, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
5 [label="Synched Properties",comment="name: \"Synched Properties\", typeName: \"PropertySyncData\", id: 5, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
6 [label="PropertySyncData",comment="name: \"PropertySyncData\", typeName: \"\", id: 6, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
7 [label="Tick",comment="name: \"Tick\", typeName: \"\", id: 7, branchId: 0, recurseId: -1, attributes: 0, notes: \"Which frame we're correcting; should match the tick in the Player Auth Input packet. (Can be 0 if not doing server auth movement.)\""];
8 [label="unsigned varint64",comment="name: \"unsigned varint64\", typeName: \"\", id: 8, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;2;4;6;8}

}

字段

SetActorDataPacket
[target_runtime_id][actor_data][synched_properties][tick]
Target Runtime ID:ActorRuntimeID
特殊类型。protocol.packet.setactordatapacket.target_runtime_id.description
Actor Data:std::vector<std::unique_ptr<DataItem>>
特殊类型。protocol.packet.setactordatapacket.actor_data.description
Synched Properties:PropertySyncData
特殊类型。protocol.packet.setactordatapacket.synched_properties.description
Tick:unsigned varint64
基本类型。protocol.packet.setactordatapacket.tick.descriptionWhich frame we're correcting; should match the tick in the Player Auth Input packet. (Can be 0 if not doing server auth movement.)