Example #1
0
 public PvpRegisterResultMessage(string pvpMode, PvpRegisterResult state, bool usePendingDialog, bool startWaitingTimer, HeroesString message)
 {
     this.PvpMode           = pvpMode;
     this.State             = (int)state;
     this.UsePendingDialog  = usePendingDialog;
     this.StartWaitingTimer = startWaitingTimer;
     this.Message           = message;
 }
Example #2
0
 public PvpRegisterResultMessage(string pvpMode, PvpRegisterResult state, bool usePendingDialog, bool startWaitingTimer, string format, params object[] args)
 {
     this.PvpMode           = pvpMode;
     this.State             = (int)state;
     this.UsePendingDialog  = usePendingDialog;
     this.StartWaitingTimer = startWaitingTimer;
     this.Message           = new HeroesString(format, args);
 }
Example #3
0
 public SystemMessage(SystemMessageCategory category, string msg, params object[] parameters)
 {
     this.Message  = new HeroesString(msg, parameters);
     this.Category = (byte)category;
 }
Example #4
0
 public SystemMessage(SystemMessageCategory category, string msg)
 {
     this.Message  = new HeroesString(msg);
     this.Category = (byte)category;
 }
Example #5
0
 public SystemMessage(SystemMessageCategory category, HeroesString msg)
 {
     this.Message  = msg;
     this.Category = (byte)category;
 }
Example #6
0
 public ItemFailMessage(HeroesString msg)
 {
     this.Message = msg;
 }