Example #1
0
            //If you want to change the text color :D
            public New_Client(string windowId, string tooltipId, bool visible, short textColor)
            {
                TextFormat = new List <ClientUITooltipTextFormat>();
                TextFormat.Add(new ClientUITooltipTextFormat(textColor, tooltipId, new commandWw(commandWw.LOCALIZED), new List <commandF5>()));

                var tooltip = new ClientUITooltip(TextFormat);

                Window = new WindowButtonModule(windowId, visible, tooltip);
            }
 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;
 }