public ClientUISlotBarCategoryItemTimerModule(double pTime, ClientUISlotBarCategoryItemTimerStateModule pTimerState,
                                               double pMaxTime, String param1, bool pActivatable)
 {
     this.var_1474    = param1;
     this.timerState  = pTimerState;
     this.time        = pTime;
     this.maxTime     = pMaxTime;
     this.activatable = pActivatable;
 }
Esempio n. 2
0
        public static byte[] write(CooldownTypeModule cooldownType, ClientUISlotBarCategoryItemTimerStateModule timerState,
                                   long time, long maxTime)
        {
            var param1 = new ByteArray(ID);

            param1.write(timerState.write());
            param1.write(cooldownType.write());
            param1.writeDouble(time);
            param1.writeDouble(maxTime);
            param1.writeShort(-3269);
            return(param1.ToByteArray());
        }