getPlayer
getPlayer: (HiscoreResult) -> stringThe player's name, as it was looked up.
hiscoreManager:lookupAsync(…)
hiscoreManager:lookupCached(…)
hiscoreClient:lookupCached(…)| Method | Returns | Description |
|---|---|---|
getPlayer() | string | The player's name, as it was looked up. |
getSkill(HiscoreSkill) | HiscoreEntry? | The entry for a skill, boss or activity, or nil when the hiscores do not list it for this player. |
| Method | Returns | Description |
|---|---|---|
HiscoreLookup.lookupCached | HiscoreResult? | The result once it has been fetched, nil until then (poll it); the first call starts the lookup. Never blocks, so it can run on the game… |
HiscoreManager.lookupAsync | HiscoreResult? | The cached result, or nil while it is being looked up (or the player has none): the lookup runs in the background, so ask again later (ea… |
HiscoreManager.lookupCached | HiscoreResult? | The cached result, else nil while the lookup (started by this first call, unlike lookupAsync's) runs in the background. Never blocks, s… |
getPlayergetPlayer: (HiscoreResult) -> stringThe player's name, as it was looked up.
getSkillgetSkill: (HiscoreResult, HiscoreSkill) -> HiscoreEntry?The entry for a skill, boss or activity, or nil when the hiscores do not list it for this player.