alloc

fun alloc(idx: Int, oldSchoolClientType: OldSchoolClientType): WorldEntityInfo

Allocates a new instance of world entity info.

Return

an instance of the world entity info.

Parameters

idx

the index of the player who is requesting a world entity info.

oldSchoolClientType

the client type on which the player has logged in.