HeroStats Libraries
Singletons.ActiveHero Property

[This is preliminary documentation and subject to change.]

Gets the active hero. Active hero is defined as the Online hero, if online, otherwise the hero stored in the currently-loaded statistics file. Guaranteed not to return a null reference.

[Visual Basic]
Public Shared ReadOnly Property ActiveHero As HeroData
[C#]
public static CityOfHeroes.HeroData ActiveHero {get;}

Property Value

A (possibly empty) object representing a hero.

See Also

Singletons Class | HeroStats.StatsEngine Namespace