Difference between revisions of "Template:NetMsg:MsgTalk"

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 MsgTalk {
+
<noinclude>{{ NetMsg:MsgTalk }}</noinclude><includeonly><syntaxhighlight lang="proto">
 +
message MsgTalk {
 
   optional uint32 WordsColor = 1 [default = 0];
 
   optional uint32 WordsColor = 1 [default = 0];
 
   optional TalkAttribute TxtAttribute = 2 [default = 0];
 
   optional TalkAttribute TxtAttribute = 2 [default = 0];
Line 14: Line 15:
 
   optional uint32 UserReceiveId = 13;
 
   optional uint32 UserReceiveId = 13;
 
   optional uint32 ServerReceiveId = 14;
 
   optional uint32 ServerReceiveId = 14;
}
+
}</syntaxhighlight></includeonly><noinclude>
enum TalkAttribute {
+
[[Category:NetMessage templates]]</noinclude>
  Normal = 2000;
 
  Private = 2001;
 
  Action = 2002;
 
  Team = 2003;
 
  Guild = 2004;
 
  System = 2005;
 
  Family = 2006;
 
  Talk = 2007;
 
  Yelp = 2008;
 
  Friend = 2009;
 
  Global = 2010;
 
  GM = 2011;
 
  Whisper = 2012;
 
  Ghost = 2013;
 
  Server = 2014;
 
  Tips = 2015;
 
  SystemDialog = 2017;
 
  Related = 2019;
 
  Contact = 2020;
 
  World = 2021;
 
  Athletic = 2022;
 
  TrainingVitality = 2024;
 
  Ally = 2025;
 
  OwnKongfu = 2026;
 
  NeiGong = 2027;
 
  League = 2028;
 
  KokCity = 2035;
 
  KokHall = 2036;
 
  KokVip = 2037;
 
  Register = 2100;
 
  Entrance = 2101;
 
  Shop = 2102;
 
  PetTalk = 2103;
 
  CryOut = 2104;
 
  Webpage = 2105;
 
  NewMessage = 2106;
 
  Task = 2107;
 
  GuildWarFirst = 2108;
 
  GuildWarNext = 2109;
 
  LeaveWord = 2110;
 
  GuildAnnounce = 2111;
 
  MsgTrade = 2201;
 
  MsgFriend = 2202;
 
  MsgTeam = 2203;
 
  MsgGuild = 2204;
 
  MsgOther = 2205;
 
  MsgSystem = 2206;
 
  AccountServer = 2300;
 
  CrossServer1 = 2401;
 
  CrossServer2 = 2402;
 
  Talk2403 = 2403;
 
  RedEnvelope = 2404;
 
  Pigeon = 2500;
 
}
 
enum TalkStyle {
 
  // this is a composite/flags enumeration
 
  Normal = 0;
 
  Scroll = 1;
 
  Flash = 2;
 
  Blast = 8;
 
}
 
</syntaxhighlight></includeonly>
 

Latest revision as of 01:16, 30 July 2019

message MsgTalk {
   optional uint32 WordsColor = 1 [default = 0];
   optional TalkAttribute TxtAttribute = 2 [default = 0];
   optional TalkStyle TxtStyle = 3 [default = Normal];
   optional uint32 Time = 4 [default = 0];
   optional uint32 EffectItemId = 5 [default = 0];
   optional uint32 Lookface = 6 [default = 0];
   optional uint32 AllOfficial = 7 [default = 0];
   optional uint32 Sex = 8 [default = 0];
   optional uint32 MsgType = 9 [default = 0];
   repeated string Strings = 10;
   optional uint32 UserSendId = 11;
   optional uint32 ServerSendId = 12;
   optional uint32 UserReceiveId = 13;
   optional uint32 ServerReceiveId = 14;
}