Difference between revisions of "MsgAction"

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

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