public void Read(IDataInput param1, ICommandLookup lookup)
 {
     param1.ReadShort();
     param1.ReadShort();
     this.selection = lookup.Lookup(param1) as KillScreenOptionTypeModule;
     this.selection.Read(param1, lookup);
     this.requestModule = lookup.Lookup(param1) as LoginRequest;
     this.requestModule.Read(param1, lookup);
 }
Beispiel #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;
     }
 }
Beispiel #3
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();
 }
 public KillScreenRepairRequest(KillScreenOptionTypeModule param1 = null, LoginRequest param2 = null)
 {
     if (param1 == null)
     {
         this.selection = new KillScreenOptionTypeModule();
     }
     else
     {
         this.selection = param1;
     }
     if (param2 == null)
     {
         this.requestModule = new LoginRequest();
     }
     else
     {
         this.requestModule = param2;
     }
 }