Browse Source

工作室改协议类名

zhaoyang 3 years ago
parent
commit
8b48d90d36

+ 1 - 1
GameClient/Assets/Game/CSShare

@@ -1 +1 @@
-Subproject commit 8b0e7e07cab6f80b40555d6de6a560cf1613faaf
+Subproject commit 15fb3465d54e5c1e635c70aeeda339cc5fb7ae64

+ 1 - 2
GameClient/Assets/Game/HotUpdate/ServerProxy/MainStorySProxy.cs

@@ -12,8 +12,7 @@ namespace ET
     {
         protected override async ETTask Run(Session session, M2C_NoticeMainStoryBoxBonusState message)
         {
-            var levelCfg = StoryLevelCfgArray.Instance.GetCfg(message.LevelCfgId);
-            MainStoryDataManager.UpdateBoxBonusStates(levelCfg.chapterId, message.BoxStates);
+            MainStoryDataManager.UpdateBoxBonusStates(message.ChapterId, message.BoxStates);
             EventAgent.DispatchEvent(ConstMessage.NOTICE_MAINSTORY_BOXBONUS_STATE);
             await ETTask.CompletedTask;
         }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/ServerProxy/StudioProxy.cs → GameClient/Assets/Game/HotUpdate/ServerProxy/StudioSProxy.cs

@@ -17,7 +17,7 @@ namespace ET
 }
 namespace GFGGame
 {
-    public class StudioProxy
+    public class StudioSProxy
     {
 
         //请求工作室副本数据

+ 1 - 1
GameClient/Assets/Game/HotUpdate/ServerProxy/StudioProxy.cs.meta → GameClient/Assets/Game/HotUpdate/ServerProxy/StudioSProxy.cs.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: 432ba2f20ee9b84479571e66d99caeee
+guid: a2a695f64086ada49af63569e4244281
 MonoImporter:
   externalObjects: {}
   serializedVersion: 2

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Studio/StudioBuyNumView.cs

@@ -94,7 +94,7 @@ namespace GFGGame
                 PromptController.Instance.ShowFloatTextPrompt("道具不足", MessageType.ERR);
                 return;
             }
-            StudioProxy.ReqBuyStudioPlayTimes(_chapterId, type, 1).Coroutine();
+            StudioSProxy.ReqBuyStudioPlayTimes(_chapterId, type, 1).Coroutine();
 
         }
     }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Studio/StudioView.cs

@@ -32,7 +32,7 @@ namespace GFGGame
         protected override void OnShown()
         {
             base.OnShown();//1;//
-            StudioProxy.ReqStudioInfos().Coroutine();
+            StudioSProxy.ReqStudioInfos().Coroutine();
             int isopen = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(StudioMetalView).FullName, false) ? 1 : 0;
             _ui.m_comMetal.m_c1.selectedIndex = isopen;
             isopen = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(StudioFabricView).FullName, false) ? 1 : 0; ;