name
name: (HiscoreSkillType) -> stringThe constant's name as declared.
HiscoreSkillType.valueOf(…)
HiscoreSkillType.OVERALL
HiscoreSkillType.SKILL| Method | Returns | Description |
|---|---|---|
name() | string | The constant's name as declared. |
ordinal() | number | The constant's 0-based position in values(). |
toString() | string | name(); tostring(c) answers the same. |
compareTo(HiscoreSkillType) | number | This ordinal less other's. |
equals(any) | boolean | Whether other is this constant. == answers the same. |
values() | {HiscoreSkillType} | Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it. |
valueOf(string) | HiscoreSkillType | valueOf(name): the constant named name; any other name is an error. |
| Field | Type | Description |
|---|---|---|
OVERALL | HiscoreSkillType | OVERALL: ordinal 0. |
SKILL | HiscoreSkillType | SKILL: ordinal 1. |
ACTIVITY | HiscoreSkillType | ACTIVITY: ordinal 2. |
BOSS | HiscoreSkillType | BOSS: ordinal 3. |
| Method | Returns | Description |
|---|---|---|
HiscoreSkill.getType | HiscoreSkillType | This constant's getType() value, listed on each constant. |
HiscoreSkillTypeClass.valueOf | HiscoreSkillType | valueOf(name): the constant named name; any other name is an error. |
HiscoreSkillTypeClass.values | {HiscoreSkillType} | Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it. |
namename: (HiscoreSkillType) -> stringThe constant's name as declared.
ordinalordinal: (HiscoreSkillType) -> numberThe constant's 0-based position in values().
toStringtoString: (HiscoreSkillType) -> stringname(); tostring(c) answers the same.
compareTocompareTo: (HiscoreSkillType, HiscoreSkillType) -> numberThis ordinal less other's.
equalsequals: (HiscoreSkillType, any) -> booleanWhether other is this constant. == answers the same.
valuesvalues: () -> {HiscoreSkillType}Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.
valueOfvalueOf: (string) -> HiscoreSkillTypevalueOf(name): the constant named name; any other name is an error.