Difference between revisions of "MsgAction"

From Conquer Online Wiki
Jump to navigation Jump to search
Line 1: Line 1:
# Protocol
+
= Protocol =
 
Protobuf
 
Protobuf
# Structure
+
= Structure =
<code>
+
<pre>
 
message MsgAction {
 
message MsgAction {
 
   optional uint32 UserId = 1;
 
   optional uint32 UserId = 1;
Line 29: Line 29:
 
   repeated string Strings = 24;
 
   repeated string Strings = 24;
 
}
 
}
</code>
+
</pre>

Revision as of 23:39, 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;
}