public override void Unload()
        {
            base.Unload();

            reforgeUI       = null;
            customResources = null;
        }
Exemple #2
0
 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);
            }
        }