SimpleEventPacket¶
文档版本:r/21_u4
协议版本:748
SimpleEventPacket数据包,数字ID是64
。该数据包用于protocol.packet.simpleeventpacket.description
结构¶
digraph "SimpleEventPacket" {
rankdir = LR
0
0 -> 1
1 -> 2
0 [label="SimpleEventPacket",comment="name: \"SimpleEventPacket\", typeName: \"\", id: 0, branchId: 64, recurseId: -1, attributes: 0, notes: \"\""];
1 [label="Type",comment="name: \"Type\", typeName: \"\", id: 1, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
2 [label="unsigned short",comment="name: \"unsigned short\", typeName: \"\", id: 2, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;2}
}
字段¶
- Type:unsigned short
- 基本类型枚举。protocol.packet.simpleeventpacket.type.description枚举值如下:
-
键 值 描述 UninitializedSubtype
0
protocol.enum.uninitializedsubtype EnableCommands
1
protocol.enum.enablecommands DisableCommands
2
protocol.enum.disablecommands UnlockWorldTemplateSettings
3
protocol.enum.unlockworldtemplatesettings