Difference between revisions of "Template:NetMsg:MsgNpc"

From Conquer Online Wiki
Jump to navigation Jump to search
(Update from WikiBot.)
 
(Update from WikiBot.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><syntaxhighlight lang="proto">message MsgNpc {
+
<noinclude>{{ NetMsg:MsgNpc }}</noinclude><includeonly><syntaxhighlight lang="proto">
 +
message MsgNpc {
 
   required NpcAction Action = 1;
 
   required NpcAction Action = 1;
 
   optional uint32 Id = 2;
 
   optional uint32 Id = 2;
Line 6: Line 7:
 
   optional uint32 PositionX = 5;
 
   optional uint32 PositionX = 5;
 
   optional uint32 PositionY = 6;
 
   optional uint32 PositionY = 6;
}
+
}</syntaxhighlight></includeonly><noinclude>
enum NpcAction {
+
[[Category:NetMessage templates]]</noinclude>
  ActivateNpc = 0;
 
  AddNpc = 1;
 
  LeaveMap = 2;
 
  DeleteNpc = 3;
 
  ChangePosition = 4;
 
  LayNpc = 5;
 
}
 
</syntaxhighlight></includeonly>
 

Latest revision as of 01:15, 30 July 2019

message MsgNpc {
   required NpcAction Action = 1;
   optional uint32 Id = 2;
   optional uint32 Type = 3;
   optional uint32 Data = 4;
   optional uint32 PositionX = 5;
   optional uint32 PositionY = 6;
}