REDNODE / GAME API

ItemID

structnative name gameItemIDnative

Properties 4

NameTypeFlags
flagsUint8overridingpersistent
idTweakDBIDoverridingpersistent
rngSeedUint32overridingpersistent
uniqueCounterUint16overridingpersistent

Methods 13

static native func CreateFromSeedWithOffset(newItemTDBID: TweakDBID, seed: Uint32, offset: Int32) -> ItemID
static native func CreateQuery(tdbID: TweakDBID) -> ItemID
static native func DuplicateRandomSeedWithOffset(referenceItemID: ItemID, newItemTDBID: TweakDBID, offset: Int32) -> ItemID
static native func FromTDBID(tdbID: TweakDBID) -> ItemID
static native func GetCombinedHash(itemID: ItemID) -> Uint64
static native func GetRngSeed(itemID: ItemID) -> Uint32
static native func GetStructure(itemID: ItemID) -> gamedataItemStructure
static native func GetTDBID(itemID: ItemID) -> TweakDBID
static native func HasFlag(itemID: ItemID, flag: gameEItemIDFlag) -> Bool
static native func IsOfTDBID(itemID: ItemID, tdbID: TweakDBID) -> Bool
static native func IsQuery(itemID: ItemID) -> Bool
static native func IsValid(itemID: ItemID) -> Bool
static native func None() -> ItemID