REDNODE / GAME API

StatsObjectID

structnative name gameStatsObjectIDnativeimportOnly

StatsObjectID in scripts: which object a stat or stat pool belongs to. For an entity, cast its EntityID; the cast is the global function Cast;EntityID;StatsObjectID.

// REDnode: V's stats id. Tested in game on 2.31 (2026-10-12).
const statsId = await api.$call('Cast;EntityID;StatsObjectID', await player.GetEntityID());

entityHash is a Uint64, so REDnode carries it as a string.

Properties 2

NameTypeFlags
entityHashUint64overriding
idTypegameStatIDTypeoverriding

Methods 4

static native func ExtractEntityID(id: StatsObjectID) -> EntityID
static native func IsDefined(id: StatsObjectID) -> Bool
static native func IsDynamic(id: StatsObjectID) -> Bool
static native func IsEntity(id: StatsObjectID) -> Bool