跳转至

GameTestRequestPacket

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

GameTestRequestPacket数据包,数字ID是194。该数据包用于protocol.packet.gametestrequestpacket.description

结构

digraph "GameTestRequestPacket" {
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="GameTestRequestPacket",comment="name: \"GameTestRequestPacket\", typeName: \"\", id: 0, branchId: 194, recurseId: -1, attributes: 0, notes: \"\""];
1 [label="MaxTestsPerBatch",comment="name: \"MaxTestsPerBatch\", typeName: \"\", id: 1, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
2 [label="varint",comment="name: \"varint\", typeName: \"\", id: 2, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
3 [label="RepeatCount",comment="name: \"RepeatCount\", typeName: \"\", id: 3, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
4 [label="varint",comment="name: \"varint\", typeName: \"\", id: 4, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
5 [label="Rotation",comment="name: \"Rotation\", typeName: \"\", id: 5, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
6 [label="byte",comment="name: \"byte\", typeName: \"\", id: 6, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
7 [label="StopOnFailure",comment="name: \"StopOnFailure\", typeName: \"\", id: 7, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
8 [label="bool",comment="name: \"bool\", typeName: \"\", id: 8, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
9 [label="TestPos",comment="name: \"TestPos\", typeName: \"BlockPos\", id: 9, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
10 [label="BlockPos",comment="name: \"BlockPos\", typeName: \"\", id: 10, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
11 [label="TestsPerRow",comment="name: \"TestsPerRow\", typeName: \"\", id: 11, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
12 [label="varint",comment="name: \"varint\", typeName: \"\", id: 12, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
13 [label="TestName",comment="name: \"TestName\", typeName: \"\", id: 13, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
14 [label="string",comment="name: \"string\", typeName: \"\", id: 14, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;2;4;6;8;10;12;14}

}

字段

GameTestRequestPacket
[maxtestsperbatch][repeatcount][rotation][stoponfailure][testpos][testsperrow][testname]
MaxTestsPerBatch:varint
基本类型。protocol.packet.gametestrequestpacket.maxtestsperbatch.description
RepeatCount:varint
基本类型。protocol.packet.gametestrequestpacket.repeatcount.description
Rotation:byte
基本类型枚举。protocol.packet.gametestrequestpacket.rotation.description枚举值如下:
描述
None 0
Rotate90 1 protocol.enum.rotate90
Rotate180 2 protocol.enum.rotate180
Rotate270 3 protocol.enum.rotate270
Total 4 protocol.enum.total
StopOnFailure:bool
基本类型。protocol.packet.gametestrequestpacket.stoponfailure.description
TestPos:BlockPos
特殊类型。protocol.packet.gametestrequestpacket.testpos.description
TestsPerRow:varint
基本类型。protocol.packet.gametestrequestpacket.testsperrow.description
TestName:string
特殊类型。protocol.packet.gametestrequestpacket.testname.description