Example #1
0
        public static Command write(int param1, short state, bool activatable, ClientUITooltip toolTip, commandu1C param5)
        {
            var cmd = new ByteArray(ID);

            cmd.AddBytes(param5.write());
            cmd.Integer(param1 << 13 | param1 >> 19);
            cmd.Boolean(activatable);
            cmd.Short(state);
            cmd.AddBytes(toolTip.write());
            return(new Command(cmd.ToByteArray(), true));
        }
 public SlotbarItemStatus(string iconLootId, bool selected, bool activatable, bool buyable, string clickedId, double maxCounterValue, bool blocked, ClientUITooltip toolTipSlotBar, bool visible, short counterStyle, bool available, ClientUITooltip toolTipItemBar, double counterValue)
 {
     this.iconLootId      = iconLootId;
     this.selected        = selected;
     this.activatable     = activatable;
     this.buyable         = buyable;
     this.clickedId       = clickedId;
     this.maxCounterValue = maxCounterValue;
     this.blocked         = blocked;
     this.toolTipSlotBar  = toolTipSlotBar;
     this.visible         = visible;
     this.counterStyle    = counterStyle;
     this.available       = available;
     this.toolTipItemBar  = toolTipItemBar;
     this.counterValue    = counterValue;
 }
 public WindowButtonModule(string itemId, bool visible, ClientUITooltip tooltip)
 {
     this.visible = visible;
     this.itemId  = itemId;
     this.tooltip = tooltip;
 }