AgentActionEventPacket¶
文档版本:r/21_u4
协议版本:748
AgentActionEventPacket数据包,数字ID是181。该数据包用于protocol.packet.agentactioneventpacket.description
结构¶
digraph "AgentActionEventPacket" {
rankdir = LR
0
0 -> 1
1 -> 2
0 -> 3
3 -> 4
0 -> 5
5 -> 6
0 [label="AgentActionEventPacket",comment="name: \"AgentActionEventPacket\", typeName: \"\", id: 0, branchId: 181, recurseId: -1, attributes: 0, notes: \"\""];
1 [label="Request Id",comment="name: \"Request Id\", 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="Action",comment="name: \"Action\", typeName: \"\", id: 3, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
4 [label="int",comment="name: \"int\", typeName: \"\", id: 4, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
5 [label="Response",comment="name: \"Response\", typeName: \"\", id: 5, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
6 [label="string",comment="name: \"string\", typeName: \"\", id: 6, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;2;4;6}
}
字段¶
- Request Id:string
- 特殊类型。protocol.packet.agentactioneventpacket.request_id.description
- Action:int
- 基本类型枚举。protocol.packet.agentactioneventpacket.action.description枚举值如下:
-
键 值 描述 Attack1protocol.enum.attack Collect2protocol.enum.collect Destroy3protocol.enum.destroy DetectRedstone4protocol.enum.detectredstone DetectObstacle5protocol.enum.detectobstacle Drop6protocol.enum.drop DropAll7protocol.enum.dropall Inspect8protocol.enum.inspect InspectData9protocol.enum.inspectdata InspectItemCount10protocol.enum.inspectitemcount InspectItemDetail11protocol.enum.inspectitemdetail InspectItemSpace12protocol.enum.inspectitemspace Interact13protocol.enum.interact Move14protocol.enum.move PlaceBlock15protocol.enum.placeblock Till16protocol.enum.till TransferItemTo17protocol.enum.transferitemto Turn18protocol.enum.turn
- Response:string
- 特殊类型。protocol.packet.agentactioneventpacket.response.description