get

operator fun get(idx: Int): NpcInfo

Gets the npc info at the provided index.

Return

npc info object at that index

Parameters

idx

the index of the npc info

Throws

if the npc info is null at that index

if the index is out of bounds