getJagexKey

fun getJagexKey(index: Int): Int

Gets the Jagex key code at the provided index.

Return

Jagex compressed key code, or -1 if the key isn't valid.

Parameters

index

the index of the key code to obtain.

Throws

if the index is below 0, or >= length.