瀏覽代碼

竞技场

zhaoyang 2 年之前
父節點
當前提交
4688848ae9
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaView.cs

+ 2 - 0
GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaView.cs

@@ -73,6 +73,7 @@ namespace GFGGame
         {
             base.AddEventListener();
             EventAgent.AddEventListener(ConstMessage.ARENA_FIGHT_RESULT, UpdateView);
+            EventAgent.AddEventListener(ConstMessage.NUMERIC_CHANGE, UpdateValue);
         }
         protected override async void OnShown()
         {
@@ -127,6 +128,7 @@ namespace GFGGame
         {
             base.RemoveEventListener();
             EventAgent.RemoveEventListener(ConstMessage.ARENA_FIGHT_RESULT, UpdateView);
+            EventAgent.RemoveEventListener(ConstMessage.NUMERIC_CHANGE, UpdateValue);
         }
         private void OnBtnRuleClick()
         {