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();
 }
示例#2
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     param1.ReadShort();
     this.time        = param1.ReadDouble();
     this.var_2176    = param1.ReadUTF();
     this.activatable = param1.ReadBoolean();
     this.maxTime     = param1.ReadDouble();
     this.timerState  = lookup.Lookup(param1) as ClientUISlotBarCategoryItemTimerStateModule;
     this.timerState.Read(param1, lookup);
 }
示例#3
0
 public ClientUISlotBarCategoryItemTimerModule(string param1 = "", ClientUISlotBarCategoryItemTimerStateModule param2 = null, double param3 = 0, double param4 = 0, bool param5 = false)
 {
     this.var_2176 = param1;
     if (param2 == null)
     {
         this.timerState = new ClientUISlotBarCategoryItemTimerStateModule();
     }
     else
     {
         this.timerState = param2;
     }
     this.time        = param3;
     this.maxTime     = param4;
     this.activatable = param5;
 }
 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;
 }