From 21126f5304efa5bbb9031c7119ad396bbf91e0e9 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 18 十一月 2025 18:14:52 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/Login/LoginManager.cs |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/Main/System/Login/LoginManager.cs b/Main/System/Login/LoginManager.cs
index e914215..2aded75 100644
--- a/Main/System/Login/LoginManager.cs
+++ b/Main/System/Login/LoginManager.cs
@@ -66,6 +66,9 @@
         SDKUtils.Instance.onFreePlatformBindOk += OnSDKAccountBindOk;
 
         LaunchInHot.Instance.OnApplicationOut += OnApplicationOut;
+        // #if UNITY_EDITOR
+        // GlobalTimeEvent.Instance.MSEvent += OnMSEvent;
+        // #endif
     }
 
     public override void Release()
@@ -243,9 +246,12 @@
     {
         if (ok)
         {
+            GameNetSystem.Instance.SetIsWaitLogin(false);
+            GameNetSystem.Instance.SetIsWaitLoginMap(true);
             var sendInfo = new C0123_tagCClientPackVersion();
             sendInfo.Version = DwVersionNo;
             GameNetSystem.Instance.SendInfo(sendInfo);
+            GameNetSystem.Instance.SetIsWaitLogin(true);
         }
         else
         {
@@ -253,6 +259,13 @@
         }
     }
 
+    // void OnMSEvent()
+    // {
+    //     //娴嬭瘯鐢� 娴嬭瘯鐧诲綍娴佺▼涓竴鐩村彂鏃犵敤鐨勫寘鏄惁褰卞搷鐧诲綍
+    //     var pack = new CA504_tagCMPlayerGetReward();
+    //     GameNetSystem.Instance.SendInfo(pack);
+
+    // }
 
     public void AccessLogin(H0101_tagServerPrepared _serverInfo)
     {
@@ -291,6 +304,7 @@
 
     public C0101_tagCPlayerLogin Get0101SendPackage(H0101_tagServerPrepared _serverInfo)
     {
+        GameNetSystem.Instance.SetIsWaitLogin(false);
         var send = new C0101_tagCPlayerLogin();
         switch (VersionConfig.Get().versionAuthority)
         {

--
Gitblit v1.8.0