Exemplo n.º 1
0
 public class_533(short param1 = 0, int param2 = 0, int param3 = 0, FactionModule param4 = null, FactionModule param5 = null, List <class_786> param6 = null, List <class_786> param7 = null, List <LootModule> param8 = null, class_693 param9 = null)
 {
     this.var_2566 = param1;
     this.var_1104 = param2;
     this.var_573  = param3;
     if (param4 == null)
     {
         this.var_4496 = new FactionModule();
     }
     else
     {
         this.var_4496 = param4;
     }
     if (param5 == null)
     {
         this.var_3191 = new FactionModule();
     }
     else
     {
         this.var_3191 = param5;
     }
     if (param6 == null)
     {
         this.var_3653 = new List <class_786>();
     }
     else
     {
         this.var_3653 = param6;
     }
     if (param7 == null)
     {
         this.var_4269 = new List <class_786>();
     }
     else
     {
         this.var_4269 = param7;
     }
     if (param8 == null)
     {
         this.rewards = new List <LootModule>();
     }
     else
     {
         this.rewards = param8;
     }
     if (param9 == null)
     {
         this.name_130 = new class_693();
     }
     else
     {
         this.name_130 = param9;
     }
 }
Exemplo n.º 2
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     param1.ReadShort();
     this.var_3653.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as class_786;
         tmp_0.Read(param1, lookup);
         this.var_3653.Add(tmp_0);
     }
     this.rewards.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as LootModule;
         tmp_0.Read(param1, lookup);
         this.rewards.Add(tmp_0);
     }
     this.var_4269.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as class_786;
         tmp_0.Read(param1, lookup);
         this.var_4269.Add(tmp_0);
     }
     this.var_573  = param1.ReadInt();
     this.var_573  = param1.Shift(this.var_573, 28);
     this.var_1104 = param1.ReadInt();
     this.var_1104 = param1.Shift(this.var_1104, 18);
     this.var_3191 = lookup.Lookup(param1) as FactionModule;
     this.var_3191.Read(param1, lookup);
     this.name_130 = lookup.Lookup(param1) as class_693;
     this.name_130.Read(param1, lookup);
     this.var_4496 = lookup.Lookup(param1) as FactionModule;
     this.var_4496.Read(param1, lookup);
     this.var_2566 = param1.ReadShort();
 }