Difference between revisions of "MsgAction"

From Conquer Online Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
Protobuf
 
Protobuf
 
# Structure
 
# Structure
 
+
<code>
message MsgAction {
+
message MsgAction {
  optional uint32 UserId = 1;
+
  optional uint32 UserId = 1;
  optional uint32 TargetId = 2;
+
  optional uint32 TargetId = 2;
  optional uint32 DataUInt32 = 3;
+
  optional uint32 DataUInt32 = 3;
  optional int32 DataInt32 = 4;
+
  optional int32 DataInt32 = 4;
  optional int64 DataInt64 = 5;
+
  optional int64 DataInt64 = 5;
  optional bool SucDone = 6;
+
  optional bool SucDone = 6;
  optional uint32 TargetPositionX = 7;
+
  optional uint32 TargetPositionX = 7;
  optional uint32 TargetPositionY = 8;
+
  optional uint32 TargetPositionY = 8;
  optional uint32 TimeStamp = 9;
+
  optional uint32 TimeStamp = 9;
  optional uint32 NpcId = 10;
+
  optional uint32 NpcId = 10;
  optional uint32 CheatLogData1 = 11;
+
  optional uint32 CheatLogData1 = 11;
  optional ActionType ActionType = 12 [default = 0];
+
  optional ActionType ActionType = 12 [default = 0];
  optional uint32 Direction = 13;
+
  optional uint32 Direction = 13;
  optional uint32 PositionX = 14;
+
  optional uint32 PositionX = 14;
  optional uint32 PositionY = 15;
+
  optional uint32 PositionY = 15;
  optional uint32 CheatLogData2 = 16;
+
  optional uint32 CheatLogData2 = 16;
  optional uint32 MapId = 17;
+
  optional uint32 MapId = 17;
  optional uint32 CheatLogData3 = 18;
+
  optional uint32 CheatLogData3 = 18;
  optional int32 ScheduleTime = 19;
+
  optional int32 ScheduleTime = 19;
  optional int32 LinkIndex = 20;
+
  optional int32 LinkIndex = 20;
  optional uint32 CheatLogData4 = 21;
+
  optional uint32 CheatLogData4 = 21;
  optional int32 RemainTime = 22;
+
  optional int32 RemainTime = 22;
  optional bool MountCharge = 23;
+
  optional bool MountCharge = 23;
  repeated string Strings = 24;
+
  repeated string Strings = 24;
}
+
}
 +
</code>

Revision as of 23:38, 29 July 2019

  1. Protocol

Protobuf

  1. Structure

message MsgAction {

  optional uint32 UserId = 1;
  optional uint32 TargetId = 2;
  optional uint32 DataUInt32 = 3;
  optional int32 DataInt32 = 4;
  optional int64 DataInt64 = 5;
  optional bool SucDone = 6;
  optional uint32 TargetPositionX = 7;
  optional uint32 TargetPositionY = 8;
  optional uint32 TimeStamp = 9;
  optional uint32 NpcId = 10;
  optional uint32 CheatLogData1 = 11;
  optional ActionType ActionType = 12 [default = 0];
  optional uint32 Direction = 13;
  optional uint32 PositionX = 14;
  optional uint32 PositionY = 15;
  optional uint32 CheatLogData2 = 16;
  optional uint32 MapId = 17;
  optional uint32 CheatLogData3 = 18;
  optional int32 ScheduleTime = 19;
  optional int32 LinkIndex = 20;
  optional uint32 CheatLogData4 = 21;
  optional int32 RemainTime = 22;
  optional bool MountCharge = 23;
  repeated string Strings = 24;

}