public override void Unload() { base.Unload(); reforgeUI = null; customResources = null; }
public override void OnChatButtonClicked(bool firstButton, ref bool shop) { if (firstButton) { shop = true; } else { ReforgeUI.ShowInterface(); } }
public override void Load() { ReforgeUI.visible = false; if (!Main.dedServ) { // Create Gnome Reforge Interface reforgeUI = new ReforgeUI(); ReforgeUI.visible = true; customResources = new UserInterface(); customResources.SetState(reforgeUI); } }