Browse Source

退出房间后 选择的问题被重置Bug

DGJ 1 year ago
parent
commit
676db18daf

+ 1 - 1
Assets/Game/ShowLogin/LangChaoLogin.cs

@@ -54,7 +54,7 @@ namespace GHZLangChao
         private void OnClickLogin()
         {
 #if UNITY_EDITOR
-            mAccountStr = "lc1";
+            mAccountStr = "dgj1";
             mPasswordStr = "1";
 #endif
             mAccount_Input.text = mAccountStr;

+ 3 - 3
Assets/Game/ShowSupport/ShowRtc.prefab

@@ -997,7 +997,7 @@ MonoBehaviour:
         m_Arguments:
           m_ObjectArgument: {fileID: 0}
           m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
-          m_IntArgument: 2
+          m_IntArgument: 3
           m_FloatArgument: 0
           m_StringArgument: 
           m_BoolArgument: 0
@@ -1586,7 +1586,7 @@ MonoBehaviour:
         m_Arguments:
           m_ObjectArgument: {fileID: 0}
           m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
-          m_IntArgument: 1
+          m_IntArgument: 2
           m_FloatArgument: 0
           m_StringArgument: 
           m_BoolArgument: 0
@@ -2659,7 +2659,7 @@ MonoBehaviour:
         m_Arguments:
           m_ObjectArgument: {fileID: 0}
           m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
-          m_IntArgument: 0
+          m_IntArgument: 1
           m_FloatArgument: 0
           m_StringArgument: 
           m_BoolArgument: 0

+ 3 - 3
Assets/Scripts/RTC/RTCRoomManager.cs

@@ -61,7 +61,7 @@ public class RTCRoomManager : MonoSingleton<RTCRoomManager>, IController
             data["roomId"] = mRTCRoomInfo.roomId.ToString();
             data["questionCategory"] = (int)question;
 
-            Debug.Log("DGJ   =====>  " + mRTCRoomInfo.roomId);
+            Debug.Log("DGJ   =====>  " + data.ToJson());
 
             StartCoroutine(HttpTool.Instance.SendHttp(HttpActionLang.apply, data.ToJson(), message =>
             {
@@ -72,7 +72,7 @@ public class RTCRoomManager : MonoSingleton<RTCRoomManager>, IController
                     Debug.Log("DGJ ===>   ");
 
                     // ScenesManager.Instance.showWindow(ScenesManager.SceneType.ShowRoom); // 等待收到专家入场
-
+                 
                 }
             }));
         }
@@ -258,7 +258,7 @@ public class RTCRoomManager : MonoSingleton<RTCRoomManager>, IController
         expertView = null;
         mRTCRoomInfo = null;
         controlPhone = "";
-        question = QuestionEnum.NetWork;
+      //  question = QuestionEnum.NetWork;
         expertData = null;
         controlData = null;
     }