getHighResolutionIndicesOrNull

Gets the high resolution indices of the given worldId in a new arraylist of integers, or null if the provided world does not exist. The list is initialized to an initial capacity equal to the high resolution npc index count.

Return

the newly created arraylist of indices, or null if the world does not exist.

Parameters

worldId

the worldId to collect the indices from. For root world, use ROOT_WORLD.

Throws

if the world id is not in range of 0..<2048, or ROOT_WORLD.

if the provided world has not been allocated. It is up to the caller to ensure the world they're accessible is available. Root world will always be available as long as the given info object is allocated.