Difference between revisions of "MsgAction"

From Conquer Online Wiki
Jump to navigation Jump to search
(Replaced content with "= Protocol = Protobuf = Structure = {{ NetMsg:MsgAction }}")
Tag: Replaced
 
Line 2: Line 2:
 
Protobuf
 
Protobuf
 
= Structure =
 
= Structure =
<pre>
+
{{ NetMsg:MsgAction }}
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;
 
}
 
</pre>
 

Latest revision as of 23:52, 29 July 2019

Protocol

Protobuf

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;
}