Ejemplo n.º 1
0
        public override void Load()
        {
            Instance     = this;
            CheckListKey = RegisterHotKey("Soul Toggles", "L");
            FreezeKey    = RegisterHotKey("Freeze Time", "P");

            if (!Main.dedServ)
            {
                CustomResources   = new UserInterface();
                SoulCheck         = new Soulcheck();
                Soulcheck.Visible = false;
                CustomResources.SetState(SoulCheck);
            }
        }
Ejemplo n.º 2
0
        public override void Load()
        {
            Instance = this;
            if (Language.ActiveCulture == GameCulture.Chinese)
            {
                CheckListKey = RegisterHotKey("灵魂切换菜单", "L");
                FreezeKey    = RegisterHotKey("冻结时间", "P");
                GoldKey      = RegisterHotKey("金身", "O");
            }
            else
            {
                CheckListKey = RegisterHotKey("Soul Toggles", "L");
                FreezeKey    = RegisterHotKey("Freeze Time", "P");
                GoldKey      = RegisterHotKey("Turn Gold", "O");
            }

            if (!Main.dedServ)
            {
                CustomResources   = new UserInterface();
                SoulCheck         = new Soulcheck();
                Soulcheck.Visible = false;
                CustomResources.SetState(SoulCheck);
            }
        }