Qualification class
From Catglobe Wiki
More actions
Qualification
Represents a qualification.
Parent class
Inherits from Array
Methods
- string ToString() - The string representation of the object.
- object this[] { get; }(int index "Index") - Backward-compatible indexer
- Empty this[] { get; }(int index "Index", object value "Value to set") - Backward-compatible indexer
Properties
- bool Active { get; } - Whether the qualification is active
- number Average { get; } - Average of the objects in the Array object. Can only use if all the elements are of type Number
- int Id { get; } - Primary key of the qualification
- number Max { get; } - Largest of all the objects in the Array object. Can only use if all the elements are of type Number
- int MaxLevel { get; } - Maximum qualification level
- number Min { get; } - Smallest of all the objects in the Array object. Can only use if all the elements are of type Number
- int MinLevel { get; } - Minimum qualification level
- string Name { get; } - Name of the qualification
- string ObjectTypeName { get; } - The name of the type of object.
- number Sum { get; } - Sum of all the objects in the Array object. Can only use if all the elements are of type Number
- TypeInformation TypeInformation { get; } - Get information about this class.
Static Methods
- Qualification Qualification_getByName(string qualification name "Name of the qualification to look up") - Get a qualification by name
- Dictionary Qualification_getLevelForUsers(Array of int user resource ids "Array of user resource unique IDs to query qualification levels for", int qualification id "Primary key of the qualification to query", int min level "Minimum qualification level to include in results (inclusive)", int max level "Maximum qualification level to include in results (inclusive)") - Get qualification levels for a list of users
- Empty Qualification_setLevelOnUsers(Array of int user resource ids "Array of user resource unique IDs to update", int qualification id "Primary key of the qualification to set", int level "Qualification level to assign; must be within the qualification's configured min and max bounds") - Set qualification level on users