예제 #1
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.gearTypeToActivate = lookup.Lookup(param1) as PetGearTypeModule;
     this.gearTypeToActivate.Read(param1, lookup);
     param1.ReadShort();
     this.optParam = param1.ReadShort();
     param1.ReadShort();
 }
예제 #2
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.gearType = lookup.Lookup(param1) as PetGearTypeModule;
     this.gearType.Read(param1, lookup);
     this.level = param1.ReadInt();
     this.level = param1.Shift(this.level, 6);
     param1.ReadShort();
     this.amount = param1.ReadInt();
     this.amount = param1.Shift(this.amount, 15);
 }
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     param1.ReadShort();
     param1.ReadShort();
     this.enabled  = param1.ReadBoolean();
     this.amount   = param1.ReadInt();
     this.amount   = param1.Shift(this.amount, 20);
     this.gearType = lookup.Lookup(param1) as PetGearTypeModule;
     this.gearType.Read(param1, lookup);
     this.level = param1.ReadInt();
     this.level = param1.Shift(this.level, 14);
 }
예제 #4
0
 public class_1012(PetGearTypeModule param1 = null, bool param2 = false)
 {
     if (param1 == null)
     {
         this.var_372 = new PetGearTypeModule();
     }
     else
     {
         this.var_372 = param1;
     }
     this.active = param2;
 }
예제 #5
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.var_438 = lookup.Lookup(param1) as PetGearTypeModule;
     this.var_438.Read(param1, lookup);
     this.var_2682.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = param1.Shift(param1.ReadInt(), 24);
         this.var_2682.Add(tmp_0);
     }
     param1.ReadShort();
 }
예제 #6
0
 public PetGearActivationRequest(PetGearTypeModule param1 = null, short param2 = 0)
 {
     if (param1 == null)
     {
         this.gearTypeToActivate = new PetGearTypeModule();
     }
     else
     {
         this.gearTypeToActivate = param1;
     }
     this.optParam = param2;
 }
예제 #7
0
 public PetGearRemoveCommand(PetGearTypeModule param1 = null, int param2 = 0, int param3 = 0)
 {
     if (param1 == null)
     {
         this.gearType = new PetGearTypeModule();
     }
     else
     {
         this.gearType = param1;
     }
     this.level  = param2;
     this.amount = param3;
 }
 public PetGearAddCommand(PetGearTypeModule param1 = null, int param2 = 0, int param3 = 0, bool param4 = false)
 {
     if (param1 == null)
     {
         this.gearType = new PetGearTypeModule();
     }
     else
     {
         this.gearType = param1;
     }
     this.level   = param2;
     this.amount  = param3;
     this.enabled = param4;
 }
예제 #9
0
 public class_965(PetGearTypeModule param1 = null, List <int> param2 = null)
 {
     if (param1 == null)
     {
         this.var_372 = new PetGearTypeModule();
     }
     else
     {
         this.var_372 = param1;
     }
     if (param2 == null)
     {
         this.var_2242 = new List <int>();
     }
     else
     {
         this.var_2242 = param2;
     }
 }
예제 #10
0
 public class_1082(PetGearTypeModule param1 = null, List <int> param2 = null)
 {
     if (param1 == null)
     {
         this.var_438 = new PetGearTypeModule();
     }
     else
     {
         this.var_438 = param1;
     }
     if (param2 == null)
     {
         this.var_2682 = new List <int>();
     }
     else
     {
         this.var_2682 = param2;
     }
 }
예제 #11
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.active  = param1.ReadBoolean();
     this.var_372 = lookup.Lookup(param1) as PetGearTypeModule;
     this.var_372.Read(param1, lookup);
 }