Beispiel #1
0
 public ClientUISlotBarCategoryItemModule(int param1 = 0, ClientUISlotBarCategoryItemStatusModule param2 = null, ClientUISlotBarCategoryItemTimerModule param3 = null, CooldownTypeModule param4 = null, short param5 = 0, short param6 = 0, bool param7 = false)
 {
     this.var_848 = param1;
     if (param2 == null)
     {
         this.status = new ClientUISlotBarCategoryItemStatusModule();
     }
     else
     {
         this.status = param2;
     }
     if (param3 == null)
     {
         this.timer = new ClientUISlotBarCategoryItemTimerModule();
     }
     else
     {
         this.timer = param3;
     }
     if (param4 == null)
     {
         this.var_1273 = new CooldownTypeModule();
     }
     else
     {
         this.var_1273 = param4;
     }
     this.counterType = param5;
     this.actionStyle = param6;
     this.showTooltipCooldownTimer = param7;
 }
Beispiel #2
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.var_848 = param1.ReadInt();
     this.var_848 = param1.Shift(this.var_848, 31);
     this.showTooltipCooldownTimer = param1.ReadBoolean();
     this.status = lookup.Lookup(param1) as ClientUISlotBarCategoryItemStatusModule;
     this.status.Read(param1, lookup);
     this.timer = lookup.Lookup(param1) as ClientUISlotBarCategoryItemTimerModule;
     this.timer.Read(param1, lookup);
     this.var_1273 = lookup.Lookup(param1) as CooldownTypeModule;
     this.var_1273.Read(param1, lookup);
     this.actionStyle = param1.ReadShort();
     param1.ReadShort();
     param1.ReadShort();
     this.counterType = param1.ReadShort();
 }