Jelajahi Sumber

Merge branch 'master' of http://192.168.2.10:3000/GFG/Client

zhangyuqian 1 tahun lalu
induk
melakukan
8270eabe05

+ 2 - 0
GameClient/Assets/Game/HotUpdate/ServerProxy/CommonSProxy.cs

@@ -1,5 +1,6 @@
 using ET;
 using GFGGame;
+using GFGGame.Launcher;
 
 namespace ET
 {
@@ -17,6 +18,7 @@ namespace ET
                     FunctionOpenDataManager.Instance.CheckHasLvFunOpen((int)message.NewValue,
                         oldValue); //等级变化要加测是否有功能开启
                     RoleDataManager.RoleLvUp(oldValue);
+                    QDManager.PushRoleAction(DouYouRoleLogReportType.LevelUp);
                     break;
                 case NumericType.Power:
                     RoleDataManager.powerTimeServerLock = false;

+ 0 - 1
GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

@@ -877,7 +877,6 @@ namespace GFGGame
             {
                 UpdateRoleLvl();
                 CheckFunOpen();
-                QDManager.PushRoleAction(DouYouRoleLogReportType.LevelUp);
             }
             if (numericType == NumericType.FirstRechargeBonusStatus || numericType == NumericType.FirstRechargeTotal)
             {

+ 1 - 1
GameClient/Assets/Game/Launcher/Platform/QDDouYouManagerInit.cs

@@ -38,7 +38,7 @@ namespace GFGGame.Launcher
         //调用桥接的 DouYouMainActivity.java 对象的方法
         private void CallDouYouMainActivity(string functionName, params object[] args)
         {
-            _douYouMainActivity.Call(functionName, args);
+            _douYouMainActivity?.Call(functionName, args);
         }
 
         /// <summary>