跳转至

PlayerInputPacket

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

PlayerInputPacket数据包,数字ID是57。该数据包用于protocol.packet.playerinputpacket.description

结构

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

0 [label="PlayerInputPacket",comment="name: \"PlayerInputPacket\", typeName: \"\", id: 0, branchId: 57, recurseId: -1, attributes: 0, notes: \"\""];
1 [label="Move Vector",comment="name: \"Move Vector\", typeName: \"Vec2\", id: 1, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
2 [label="Vec2",comment="name: \"Vec2\", typeName: \"\", id: 2, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
3 [label="Jumping",comment="name: \"Jumping\", typeName: \"\", id: 3, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
4 [label="bool",comment="name: \"bool\", typeName: \"\", id: 4, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
5 [label="Sneaking",comment="name: \"Sneaking\", typeName: \"\", id: 5, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
6 [label="bool",comment="name: \"bool\", typeName: \"\", id: 6, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;2;4;6}

}

字段

PlayerInputPacket
[move_vector][jumping][sneaking]
Move Vector:Vec2
特殊类型。protocol.packet.playerinputpacket.move_vector.description
Jumping:bool
基本类型。protocol.packet.playerinputpacket.jumping.description
Sneaking:bool
基本类型。protocol.packet.playerinputpacket.sneaking.description