parent
71b380cdd2
commit
488753ab83
|
@ -196,12 +196,12 @@ end
|
|||
|
||||
function this:AddListener()
|
||||
Game.GlobalEvent:AddEvent(GameEvent.Formation.OnFormationChange, this.RefreshPower)
|
||||
Game.GlobalEvent:AddEvent(GameEvent.Formation.OnFormationChange1, this.RefreshPower)
|
||||
Game.GlobalEvent:AddEvent(GameEvent.Formation.OnFormationChange1, this.OnShow)
|
||||
end
|
||||
|
||||
function this:RemoveListener()
|
||||
Game.GlobalEvent:RemoveEvent(GameEvent.Formation.OnFormationChange, this.RefreshPower)
|
||||
Game.GlobalEvent:RemoveEvent(GameEvent.Formation.OnFormationChange1, this.RefreshPower)
|
||||
Game.GlobalEvent:RemoveEvent(GameEvent.Formation.OnFormationChange1, this.OnShow)
|
||||
end
|
||||
|
||||
function this:OnSortingOrderChange()
|
||||
|
|
Loading…
Reference in New Issue