HeroStats Libraries
HeroData Members

HeroData overview

Public Static (Shared) Methods

Equals (inherited from Object) Determines whether the specified Object instances are considered equal.
ReferenceEquals (inherited from Object) Determines whether the specified Object instances are the same instance.

Public Instance Constructors

HeroData Constructor Default constructor. Sets no attributes.

Public Instance Properties

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.

Public Instance Methods

Clone 
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table
GetType (inherited from Object) Gets the Type of the current instance.
MatchPowerToSets Updates this hero's powersets based on the AT and a power used by the hero. Note that a powerset is only set once, then it is no longer considered for updates.
ToString A string representation of the hero's information

See Also

HeroData Class | CityOfHeroes Namespace