public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.type = lookup.Lookup(param1) as CooldownTypeModule;
     this.type.Read(param1, lookup);
     this.seconds = param1.ReadInt();
     this.seconds = param1.Shift(this.seconds, 30);
 }
Example #2
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;
 }
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.timerState = lookup.Lookup(param1) as ClientUISlotBarCategoryItemTimerStateModule;
     this.timerState.Read(param1, lookup);
     this.time         = param1.ReadDouble();
     this.cooldownType = lookup.Lookup(param1) as CooldownTypeModule;
     this.cooldownType.Read(param1, lookup);
     this.maxTime = param1.ReadDouble();
     param1.ReadShort();
 }
 public CooldownReachedCommand(CooldownTypeModule param1 = null)
 {
     if (param1 == null)
     {
         this.type = new CooldownTypeModule();
     }
     else
     {
         this.type = param1;
     }
 }
 public CooldownStartedCommand(CooldownTypeModule param1 = null, int param2 = 0)
 {
     if (param1 == null)
     {
         this.type = new CooldownTypeModule();
     }
     else
     {
         this.type = param1;
     }
     this.seconds = param2;
 }
Example #6
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();
 }
 public UpdateMenuItemCooldownGroupTimerCommand(CooldownTypeModule param1 = null, ClientUISlotBarCategoryItemTimerStateModule param2 = null, double param3 = 0, double param4 = 0)
 {
     if (param1 == null)
     {
         this.cooldownType = new CooldownTypeModule();
     }
     else
     {
         this.cooldownType = param1;
     }
     if (param2 == null)
     {
         this.timerState = new ClientUISlotBarCategoryItemTimerStateModule();
     }
     else
     {
         this.timerState = param2;
     }
     this.time    = param3;
     this.maxTime = param4;
 }
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.type = lookup.Lookup(param1) as CooldownTypeModule;
     this.type.Read(param1, lookup);
 }