Difference between revisions of "Template:NetMsg:MsgNpcInfoEx"

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 MsgNpcInfoEx {
+
<noinclude>{{ NetMsg:MsgNpcInfoEx }}</noinclude><includeonly><syntaxhighlight lang="proto">
 +
message MsgNpcInfoEx {
 
   optional uint32 Id = 1 [default = 0];
 
   optional uint32 Id = 1 [default = 0];
 
   optional uint32 RecordId = 2;
 
   optional uint32 RecordId = 2;
Line 12: Line 13:
 
   optional uint32 OwnerId = 11;
 
   optional uint32 OwnerId = 11;
 
   repeated string Strings = 12;
 
   repeated string Strings = 12;
}
+
}</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 MsgNpcInfoEx {
   optional uint32 Id = 1 [default = 0];
   optional uint32 RecordId = 2;
   optional uint32 ServerId = 3;
   optional int32 MaxLife = 4;
   optional int32 Life = 5;
   optional int32 CellX = 6;
   optional int32 CellY = 7;
   optional uint32 Look = 8;
   optional NpcType Type = 9;
   optional NpcSort Sort = 10;
   optional uint32 OwnerId = 11;
   repeated string Strings = 12;
}