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(); }
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(); }