skrypton-api / com.waicool20.skrypton.enums / Key / getForCode

getForCode

fun getForCode(code: Long): Key

Finds a Key with the given code.

Parameters

code - The code to look for

Exceptions

IllegalStateException - If no Key with the requested code was found

Return
Key