public ClientUISlotBarCategoryItemModule(int param1, ClientUISlotBarCategoryItemStatusModule pStatus, short pActionStyle, short pCounterType, CooldownTypeModule param4, ClientUISlotBarCategoryItemTimerModule pTimer) { this.var_586 = param1; this.status = pStatus; this.timer = pTimer; this.cooldownType = param4; this.counterType = pCounterType; this.actionStyle = pActionStyle; }
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()); }