PlaySoundPacket¶
文档版本:r/21_u4
协议版本:748
PlaySoundPacket数据包,数字ID是86
。该数据包用于protocol.packet.playsoundpacket.description
结构¶
digraph "PlaySoundPacket" {
rankdir = LR
0
0 -> 1
1 -> 2
0 -> 3
3 -> 4
0 -> 5
5 -> 6
0 -> 7
7 -> 8
0 [label="PlaySoundPacket",comment="name: \"PlaySoundPacket\", typeName: \"\", id: 0, branchId: 86, recurseId: -1, attributes: 0, notes: \"\""];
1 [label="Name",comment="name: \"Name\", typeName: \"\", id: 1, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
2 [label="string",comment="name: \"string\", typeName: \"\", id: 2, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
3 [label="Position",comment="name: \"Position\", typeName: \"NetworkBlockPosition\", id: 3, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
4 [label="NetworkBlockPosition",comment="name: \"NetworkBlockPosition\", typeName: \"\", id: 4, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
5 [label="Volume",comment="name: \"Volume\", typeName: \"\", id: 5, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
6 [label="float",comment="name: \"float\", typeName: \"\", id: 6, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
7 [label="Pitch",comment="name: \"Pitch\", typeName: \"\", id: 7, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
8 [label="float",comment="name: \"float\", typeName: \"\", id: 8, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;2;4;6;8}
}
字段¶
- Name:string
- 特殊类型。protocol.packet.playsoundpacket.name.description
- Position:NetworkBlockPosition
- 特殊类型。protocol.packet.playsoundpacket.position.description
- Volume:float
- 基本类型。protocol.packet.playsoundpacket.volume.description
- Pitch:float
- 基本类型。protocol.packet.playsoundpacket.pitch.description