Exemple #1
0
        private void LogOutSuccess(S.LogOutSuccess p)
        {
            for (int i = 0; i <= 3; i++)//Fix for orbs sound
                SoundManager.StopSound(20000 + 126 * 10 + 5 + i);

            User = null;
            if (Settings.Resolution != 800)
                CMain.SetResolution(800, 600);
            ActiveScene = new SelectScene(p.Characters);

            Dispose();
        }
Exemple #2
0
        private void LogOutSuccess(S.LogOutSuccess p)
        {
            User = null;
            if (Settings.HighResolution)
                CMain.SetResolution(800, 600);
            ActiveScene = new SelectScene(p.Characters);

            Dispose();
        }
Exemple #3
0
        private void Login(S.LoginSuccess p)
        {
            Enabled = false;
            _login.Dispose();
            if(_ViewKey != null && !_ViewKey.IsDisposed) _ViewKey.Dispose();

            SoundManager.PlaySound(SoundList.LoginEffect);
            _background.Animated = true;
            _background.AfterAnimation += (o, e) =>
                {
                    Dispose();
                    ActiveScene = new SelectScene(p.Characters);
                };
        }
Exemple #4
0
        private void LogOutSuccess(S.LogOutSuccess p)
        {
            User = null;
            ActiveScene = new SelectScene(p.Characters);

            Dispose();
        }