public GuiElementHandbookListWithTooltips( ICoreClientAPI capi, ElementBounds bounds, Vintagestory.API.Common.Action <int> onLeftClick, List <GuiHandbookPage> elements = null ) : base(capi, bounds, onLeftClick, elements) { tooltipProvider = new ItemstackComponentBase(capi); dummySlot = new DummySlot(); }
public TextBox(ICoreClientAPI capi, ElementBounds bounds, Vintagestory.API.Common.Action <string> OnTextChanged, CairoFont font) : base(capi, bounds, OnTextChanged, font) { }
public SubCommand(Vintagestory.API.Common.Action <IPlayer, int, CmdArgs> command, string description, Dictionary <string, SubCommand> subCommands = null) { Command = command; Description = description; SubCommands = subCommands ?? new Dictionary <string, SubCommand>(); }