feat: add attackers handling
This commit is contained in:
@ -74,6 +74,13 @@ namespace Client.Application.ViewModels
|
||||
return target;
|
||||
}
|
||||
}
|
||||
public List<uint> Attackers
|
||||
{
|
||||
get
|
||||
{
|
||||
return hero.AttackerIds.ToList();
|
||||
}
|
||||
}
|
||||
public HeroSummaryInfoViewModel(Hero hero)
|
||||
{
|
||||
this.hero = hero;
|
||||
@ -102,6 +109,10 @@ namespace Client.Application.ViewModels
|
||||
OnPropertyChanged("Target");
|
||||
}
|
||||
}
|
||||
else if (e.PropertyName == "AttackerIds")
|
||||
{
|
||||
OnPropertyChanged("Attackers");
|
||||
}
|
||||
}
|
||||
|
||||
private void InventoryInfo_PropertyChanged(object? sender, System.ComponentModel.PropertyChangedEventArgs e)
|
||||
|
Reference in New Issue
Block a user