Пример #1
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.style = param1.ReadShort();
     param1.ReadShort();
     this.message = lookup.Lookup(param1) as MessageLocalizedWildcardCommand;
     this.message.Read(param1, lookup);
     this.visibility = param1.ReadShort();
 }
Пример #2
0
 public KillScreenOptionModule(KillScreenOptionTypeModule param1 = null, PriceModule param2 = null, bool param3 = false, int param4 = 0, MessageLocalizedWildcardCommand param5 = null, MessageLocalizedWildcardCommand param6 = null, MessageLocalizedWildcardCommand param7 = null, MessageLocalizedWildcardCommand param8 = null)
 {
     if (param1 == null)
     {
         this.repairType = new KillScreenOptionTypeModule();
     }
     else
     {
         this.repairType = param1;
     }
     if (param2 == null)
     {
         this.price = new PriceModule();
     }
     else
     {
         this.price = param2;
     }
     this.affordableForPlayer = param3;
     this.cooldownTime        = param4;
     if (param5 == null)
     {
         this.descriptionKey = new MessageLocalizedWildcardCommand();
     }
     else
     {
         this.descriptionKey = param5;
     }
     if (param6 == null)
     {
         this.descriptionKeyAddon = new MessageLocalizedWildcardCommand();
     }
     else
     {
         this.descriptionKeyAddon = param6;
     }
     if (param7 == null)
     {
         this.toolTipKey = new MessageLocalizedWildcardCommand();
     }
     else
     {
         this.toolTipKey = param7;
     }
     if (param8 == null)
     {
         this.buttonKey = new MessageLocalizedWildcardCommand();
     }
     else
     {
         this.buttonKey = param8;
     }
 }
Пример #3
0
 public LogMessageCommand(short param1 = 0, short param2 = 0, MessageLocalizedWildcardCommand param3 = null)
 {
     this.visibility = param1;
     this.style      = param2;
     if (param3 == null)
     {
         this.message = new MessageLocalizedWildcardCommand();
     }
     else
     {
         this.message = param3;
     }
 }
Пример #4
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.descriptionKey = lookup.Lookup(param1) as MessageLocalizedWildcardCommand;
     this.descriptionKey.Read(param1, lookup);
     this.cooldownTime        = param1.ReadInt();
     this.cooldownTime        = param1.Shift(this.cooldownTime, 25);
     this.descriptionKeyAddon = lookup.Lookup(param1) as MessageLocalizedWildcardCommand;
     this.descriptionKeyAddon.Read(param1, lookup);
     this.buttonKey = lookup.Lookup(param1) as MessageLocalizedWildcardCommand;
     this.buttonKey.Read(param1, lookup);
     this.repairType = lookup.Lookup(param1) as KillScreenOptionTypeModule;
     this.repairType.Read(param1, lookup);
     param1.ReadShort();
     this.toolTipKey = lookup.Lookup(param1) as MessageLocalizedWildcardCommand;
     this.toolTipKey.Read(param1, lookup);
     this.price = lookup.Lookup(param1) as PriceModule;
     this.price.Read(param1, lookup);
     this.affordableForPlayer = param1.ReadBoolean();
 }