The properties of the HeroData class are listed below. For a complete list of HeroData class members, see the HeroData Members topic.
Archetype | Gets or sets the hero's archetype |
Bio | Gets or sets the hero's character description |
CombatLevel | Gets or sets the hero's current combat (i.e., xp-based) level. Can change dynamically due to sidekicking or examplaring. |
CurrEndurance | Gets or sets the current endurance points available to the hero |
CurrHitPoints | Gets or sets the current hit points available to the hero |
Debt | Gets or sets the amount of debt assigned to the hero |
EpicPowerSet | Gets the hero's epic powerset |
Experience | Gets or sets the number of experience points assigned to the hero |
GameID | Returns the integer ID for the game (CoH/CoV). |
GlobalChatHandle | Gets or sets the global chat handle of the player |
IgnoreServer | Used to force the herodata to ignore the server read from the game client. This is used during the period of time when the game client might still have old server information after a hero logs in. |
Influence | Gets or sets the amount of influence available to the hero |
LastKnownServer | Gets the last known server. Usually this is the same as the current server, but not when logging in a new toon. |
MaxEndurance | Gets or sets the maximum endurance points available to the hero |
MaxHitPoints | Gets or sets the maximum hit points available to the hero |
Name | Gets or sets the hero's name |
Origin | Gets or sets the hero's origin |
PrimaryPowerSet | Gets the hero's primary powerset |
RealSecurityLevel | Gets the Hero's "real" security level; i.e., the level of the hero based on the experience he has earned. This could be different than security level in the case the hero has leveled but has not trained. |
SecondaryPowerSet | Gets the hero's secondary powerset |
SecurityLevel | Gets or sets the hero's security (i.e., training-based) level |
Server | Gets or sets the server that the hero resides on |
ServerID | Returns the integer ID for this hero's server. |
HeroData Class | CityOfHeroes Namespace