From a3316f22bceb07dd677c7af8aa79d8c52d26dc2b Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 18 十一月 2025 17:42:55 +0800
Subject: [PATCH] 0312 修复卡号问题
---
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