Browse Source

竞技场

zhaoyang 2 years ago
parent
commit
4688848ae9
1 changed files with 2 additions and 0 deletions
  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();
             base.AddEventListener();
             EventAgent.AddEventListener(ConstMessage.ARENA_FIGHT_RESULT, UpdateView);
             EventAgent.AddEventListener(ConstMessage.ARENA_FIGHT_RESULT, UpdateView);
+            EventAgent.AddEventListener(ConstMessage.NUMERIC_CHANGE, UpdateValue);
         }
         }
         protected override async void OnShown()
         protected override async void OnShown()
         {
         {
@@ -127,6 +128,7 @@ namespace GFGGame
         {
         {
             base.RemoveEventListener();
             base.RemoveEventListener();
             EventAgent.RemoveEventListener(ConstMessage.ARENA_FIGHT_RESULT, UpdateView);
             EventAgent.RemoveEventListener(ConstMessage.ARENA_FIGHT_RESULT, UpdateView);
+            EventAgent.RemoveEventListener(ConstMessage.NUMERIC_CHANGE, UpdateValue);
         }
         }
         private void OnBtnRuleClick()
         private void OnBtnRuleClick()
         {
         {