Browse Source

竞技场

zhaoyang 2 năm trước cách đây
mục cha
commit
4688848ae9
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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()
         {