跳转至

MoveActorDeltaData

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

MoveActorDeltaData类型。该类型用于protocol.type.moveactordeltadata.description

结构

digraph "MoveActorDeltaData" {
rankdir = LR
2
2 -> 3
3 -> 4
2 -> 5
5 -> 6
2 -> 7
7 -> 8
2 -> 9
9 -> 10
2 -> 11
11 -> 12
2 -> 13
13 -> 14
2 -> 15
15 -> 16
2 -> 17
17 -> 18

2 [label="MoveActorDeltaData",comment="name: \"MoveActorDeltaData\", typeName: \"\", id: 2, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
3 [label="ActorRuntimeID",comment="name: \"ActorRuntimeID\", typeName: \"ActorRuntimeID\", id: 3, branchId: 0, recurseId: -1, attributes: 256, notes: \"The runtime id of the actor being moved\""];
4 [label="ActorRuntimeID",comment="name: \"ActorRuntimeID\", typeName: \"\", id: 4, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
5 [label="Header",comment="name: \"Header\", typeName: \"\", id: 5, branchId: 0, recurseId: -1, attributes: 0, notes: \"Header containing 9 1-bit booleans describing the rest of the packet. Information provided in supplemental documentation.\""];
6 [label="unsigned short",comment="name: \"unsigned short\", typeName: \"\", id: 6, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
7 [label="New position X",comment="name: \"New position X\", typeName: \"\", id: 7, branchId: 0, recurseId: -1, attributes: 0, notes: \"If position X bit is true, then this will contain the actor's X coordinate\""];
8 [label="float",comment="name: \"float\", typeName: \"\", id: 8, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
9 [label="New position Y",comment="name: \"New position Y\", typeName: \"\", id: 9, branchId: 0, recurseId: -1, attributes: 0, notes: \"If position Y bit is true, then this will contain the actor's Y coordinate\""];
10 [label="float",comment="name: \"float\", typeName: \"\", id: 10, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
11 [label="New position Z",comment="name: \"New position Z\", typeName: \"\", id: 11, branchId: 0, recurseId: -1, attributes: 0, notes: \"If position Z bit is true, then this will contain the actor's Z coordinate\""];
12 [label="float",comment="name: \"float\", typeName: \"\", id: 12, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
13 [label="Rotation X",comment="name: \"Rotation X\", typeName: \"\", id: 13, branchId: 0, recurseId: -1, attributes: 0, notes: \"If rotation X bit is true, then this will contain the X rotation of the actor\""];
14 [label="byte",comment="name: \"byte\", typeName: \"\", id: 14, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
15 [label="Rotation Y",comment="name: \"Rotation Y\", typeName: \"\", id: 15, branchId: 0, recurseId: -1, attributes: 0, notes: \"If rotation Y bit is true, then this will contain the Y rotation of the actor\""];
16 [label="byte",comment="name: \"byte\", typeName: \"\", id: 16, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
17 [label="Rotation Y Head",comment="name: \"Rotation Y Head\", typeName: \"\", id: 17, branchId: 0, recurseId: -1, attributes: 0, notes: \"If rotation Y Head bit is true, then this will contain a head rotation of the actor if and only if it's a Mob type\""];
18 [label="byte",comment="name: \"byte\", typeName: \"\", id: 18, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;4;6;8;10;12;14;16;18}

}

字段

MoveActorDeltaData
[actorruntimeid][header][new_position_x][new_position_y][new_position_z][rotation_x][rotation_y][rotation_y_head]
ActorRuntimeID:ActorRuntimeID
特殊类型。protocol.type.moveactordeltadata.actorruntimeid.descriptionThe runtime 'id' of the actor being moved
Header:unsigned short
基本类型。protocol.type.moveactordeltadata.header.descriptionHeader containing 9 1-bit booleans describing the rest of the packet. Information prov'id'ed in supplemental documentation.
New position X:float
基本类型。protocol.type.moveactordeltadata.new_position_x.descriptionIf position X bit is true, then this will contain the actor's X coordinate
New position Y:float
基本类型。protocol.type.moveactordeltadata.new_position_y.descriptionIf position Y bit is true, then this will contain the actor's Y coordinate
New position Z:float
基本类型。protocol.type.moveactordeltadata.new_position_z.descriptionIf position Z bit is true, then this will contain the actor's Z coordinate
Rotation X:byte
基本类型。protocol.type.moveactordeltadata.rotation_x.descriptionIf rotation X bit is true, then this will contain the X rotation of the actor
Rotation Y:byte
基本类型。protocol.type.moveactordeltadata.rotation_y.descriptionIf rotation Y bit is true, then this will contain the Y rotation of the actor
Rotation Y Head:byte
基本类型。protocol.type.moveactordeltadata.rotation_y_head.descriptionIf rotation Y Head bit is true, then this will contain a head rotation of the actor if and only if it's a Mob type