HeroStats Libraries
StatsEngine Methods

The methods of the StatsEngine class are listed below. For a complete list of StatsEngine class members, see the StatsEngine Members topic.

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 Methods

AddPendingBadge Adds a badge to the pending badge list, for later use in updating badges on the web.
ApplyConfig Applies the specified config entries
Clear Removes all stored data from this object, initializing it back to starting values.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Component) Releases all resources used by the Component.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Evaluate Evaluates an infix expression that returns a double
GetDetails Gets the timed data for the specified statistic
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetStatistic Gets the value of the named statistic
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
InitializeWatchedStatistics Initializes custom statistics
IsSyntaxValid Evaluates the syntactical correctness of an arithmatic expression
Load Loads a file into the chat message datatable. Does not update the summarized statistics, since this is best done upstream at the caller ... there may be more than one file being loaded, and it would be a duplication of effort to create the statistics before all files are in.
LogInfoMessage Logs an informational message to the message log. The message will show up in the "HeroStats" channel.
RemovePendingBadges Removes a list of badges from the pending list.
Rescan Recalculates the statistics based on the chat messages currently in memory
Reset Returns the state of this object to its initial values
ResetExperience Zeroes out the value of experience gained.
ResetPlaytime Zeroes out the playtime clock.
ResetStatistic Zeroes out the value of a given statistic. Also clears out any details.
Save Saves this object to the specified file name
SaveStatisticOverloaded. Saves a statistic to in-memory storage
Suspend Suspends or resumes the scanner, optionally writing a message to the chat message store
TerminateRescan Stops the execution of a rescan
ToString (inherited from Component) 

See Also

StatsEngine Class | HeroStats.StatsEngine Namespace