예제 #1
0
        void Reset()
        {
            int id = ActivePlayer.Index;

            Player1.ReInit();
            Player2.ReInit();
            Player3.ReInit();
            Player4.ReInit();
            SetPlayerActive(id);

            switch (PluginType)
            {
            case PluginType.Direct_Connection_Plugin:
                break;

            case PluginType.PlatForm_Connection_Plugin:
                try
                {
                    PlatformSDK.LogOut();
                }catch (Exception e)
                {
                    Console.WriteLine(e.Message);
                }
                PlatformSDK = null;
                break;

            default:
                break;
            }
            isPlatLogin = false;
            loginType   = -1;
        }