HiscoreSkillType

Methods
7
Fields
4

Getting one

HiscoreSkillType.valueOf(…)
HiscoreSkillType.OVERALL
HiscoreSkillType.SKILL

Methods

MethodReturnsDescription
name()stringThe constant's name as declared.
ordinal()numberThe constant's 0-based position in values().
toString()stringname(); tostring(c) answers the same.
compareTo(HiscoreSkillType)numberThis ordinal less other's.
equals(any)booleanWhether 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)HiscoreSkillTypevalueOf(name): the constant named name; any other name is an error.

Fields

FieldTypeDescription
OVERALLHiscoreSkillTypeOVERALL: ordinal 0.
SKILLHiscoreSkillTypeSKILL: ordinal 1.
ACTIVITYHiscoreSkillTypeACTIVITY: ordinal 2.
BOSSHiscoreSkillTypeBOSS: ordinal 3.

Returned by

MethodReturnsDescription
HiscoreSkill.getTypeHiscoreSkillTypeThis constant's getType() value, listed on each constant.
HiscoreSkillTypeClass.valueOfHiscoreSkillTypevalueOf(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.

Method details

values

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.