Difference between revisions of "Template:NetMsg:MsgNpcInfo"

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 MsgNpcInfo {
+
<noinclude>{{ NetMsg:MsgNpcInfo }}</noinclude><includeonly><syntaxhighlight lang="proto">
 +
message MsgNpcInfo {
 
   optional uint32 Id = 1 [default = 0];
 
   optional uint32 Id = 1 [default = 0];
 
   optional uint32 RecordId = 2;
 
   optional uint32 RecordId = 2;
Line 9: Line 10:
 
   optional NpcSort Sort = 8;
 
   optional NpcSort Sort = 8;
 
   repeated string Strings = 9;
 
   repeated string Strings = 9;
}
+
}</syntaxhighlight></includeonly><noinclude>
enum NpcSort {
+
[[Category:NetMessage templates]]</noinclude>
  // this is a composite/flags enumeration
 
  None = 0;
 
  Task = 1;
 
  Recycle = 2;
 
  Scene = 4;
 
  LinkMap = 8;
 
  DieAction = 16;
 
  DeleteEnable = 32;
 
  Event = 64;
 
  UseLinkId = 88;
 
}
 
enum NpcType {
 
  None = 0;
 
  ShopkeeperNpc = 1;
 
  TaskNpc = 2;
 
  StorageNpc = 3;
 
  TrunkNpc = 4;
 
  FaceNpc = 5;
 
  ForgeNpc = 6;
 
  EmbedNpc = 7;
 
  StatuaryNpc = 9;
 
  GuildFlagNpc = 10;
 
  Player = 11;
 
  Hero = 12;
 
  Monster = 13;
 
  BoothNpc = 14;
 
  GuildTransportNpc = 15;
 
  RoleBoothFlagNpc = 16;
 
  RoleMouseNpc = 17;
 
  RoleMagicItem = 18;
 
  RoleDiceNpc = 19;
 
  RoleShelfNpc = 20;
 
  WeaponGoalNpc = 21;
 
  MagicGoalNpc = 22;
 
  BowGoalNpc = 23;
 
  RoleTargetNpc = 24;
 
  RoleFurnitureNpc = 25;
 
  RoleCityGateNpc = 26;
 
  RoleNeighborDoor = 27;
 
  RoleCallPet = 28;
 
  Role3dFurnitureNpc = 101;
 
  CityWallNpc = 102;
 
  CityMoatNpc = 103;
 
}
 
</syntaxhighlight></includeonly>
 

Latest revision as of 01:16, 30 July 2019

message MsgNpcInfo {
   optional uint32 Id = 1 [default = 0];
   optional uint32 RecordId = 2;
   optional uint32 ServerId = 3;
   optional int32 CellX = 4;
   optional int32 CellY = 5;
   optional uint32 Look = 6;
   optional NpcType Type = 7;
   optional NpcSort Sort = 8;
   repeated string Strings = 9;
}