HiscoreResult

Methods
2
Fields
None

Getting one

hiscoreManager:lookupAsync(…)
hiscoreManager:lookupCached(…)
hiscoreClient:lookupCached(…)

Methods

MethodReturnsDescription
getPlayer()stringThe 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.

Returned by

MethodReturnsDescription
HiscoreLookup.lookupCachedHiscoreResult?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.lookupAsyncHiscoreResult?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.lookupCachedHiscoreResult?The cached result, else nil while the lookup (started by this first call, unlike lookupAsync's) runs in the background. Never blocks, s…

Method details