|
@@ -79,6 +79,7 @@ namespace GFGGame
|
|
|
EventAgent.AddEventListener(ConstMessage.NOTICE_PASSPORT_OPEN, OnBattlePassOpen);
|
|
|
EventAgent.AddEventListener(ConstMessage.ITEM_CHANGED, OnItemChange);
|
|
|
EventAgent.AddEventListener(ConstMessage.NOTICE_BATCH_TASK_STATE_CHANGE, UpdateBtnBrocadeWeavTaskRed);
|
|
|
+ EventAgent.AddEventListener(ConstMessage.NOTICE_PASSPORT_OPEN, UpdateBtnBrocadeWeavTaskRed);
|
|
|
}
|
|
|
|
|
|
protected override void RemoveEventListener()
|
|
@@ -88,6 +89,7 @@ namespace GFGGame
|
|
|
EventAgent.RemoveEventListener(ConstMessage.NOTICE_PASSPORT_OPEN, OnBattlePassOpen);
|
|
|
EventAgent.RemoveEventListener(ConstMessage.ITEM_CHANGED, OnItemChange);
|
|
|
EventAgent.RemoveEventListener(ConstMessage.NOTICE_BATCH_TASK_STATE_CHANGE, UpdateBtnBrocadeWeavTaskRed);
|
|
|
+ EventAgent.RemoveEventListener(ConstMessage.NOTICE_PASSPORT_OPEN, UpdateBtnBrocadeWeavTaskRed);
|
|
|
}
|
|
|
|
|
|
private void OnBattlePassOpen()
|