예제 #1
0
파일: FormCarbon.cs 프로젝트: cash2one/oold
        private void CbEnterScene(UnityGMClient.EEnterSceneResult retCode, UInt32 currentSceneID, UInt32 prizeCount, List <UnityGMClient.CPrize> prizeList)
        {
            string lg = "[CbEnterScene][retCode=" + retCode.ToString() + "][prizeCount=" + prizeCount.ToString() + "]\r\n";

            Log(lg);

            if (retCode != UnityGMClient.EEnterSceneResult.EENTERSCENE_RESUlT_SUCCESS)
            {
                return;
            }

            GC.CPlayer.Singleton.setCurrentSceneID(currentSceneID);
            this.Hide();
            FormMain.showForm();
        }
예제 #2
0
        private void CbEnterScene(UnityGMClient.EEnterSceneResult retCode, UInt32 currentSceneID, List <UnityGMClient.CSceneRoleInfo> listSceneRoles)
        {
            string lg = "[CbEnterScene][retCode=" + retCode.ToString()
                        + "][currentSceneID=" + currentSceneID
                        + "]\r\n";

            Log(lg);
            //if (retCode != UnityGMClient.EEnterSceneResult.EENTER_SCENE_RESULT_SUCCESS)
            //{
            //    return;
            //}

            GC.CPlayer.Singleton.setCurrentSceneID(currentSceneID);
            this.Hide();
            timerWait.Stop();
            FormMain.showForm();
        }