zhaoyang пре 2 година
родитељ
комит
d3862973c7

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

@@ -18,7 +18,7 @@ namespace ET
     {
         protected override async ETTask Run(Session session, S2C_FilingScoreBonusChanged message)
         {
-            // StudioDataManager.Instance.NoticeFilingScoreBonusChanged(message);
+            StudioDataManager.Instance.NoticeFilingScoreBonusChanged(message.ChapterId, message.ChapterScore, message.BonusStatusList);
             EventAgent.DispatchEvent(ConstMessage.FILING_SCORE_CHANGE);
 
             await ETTask.CompletedTask;

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

@@ -39,7 +39,7 @@ namespace GFGGame
         protected override void OnShown()
         {
             base.OnShown();
-            _ui.m_txtScore.text = string.Format("本章评分:{0}", 0);
+            _ui.m_txtScore.text = string.Format("本章评分:{0}", StudioDataManager.Instance.GetStudioDataById(StudioDataManager.Instance.filingChapterId).ChapterScore);
             _ui.m_list.numItems = FilingRewardCfgArray.Instance.GetCfgsByid(StudioDataManager.Instance.filingChapterId).Count;
         }
 

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

@@ -120,7 +120,7 @@ namespace GFGGame
         }
         private void OnBtnAddClick()
         {
-
+            ViewManager.Show<StudioBuyNumView>(StudioDataManager.Instance.filingChapterId);
         }
         private void OnBtnSuitClick()
         {