REDNODE / GAME API

gameItemData

abstract classnative

extends IScriptable › ISerializable

Extended by 3 types

gameBlueprintStackableItemData gameStackedItemData gameUniqueItemData

Methods 29

native func AddStatsOnEquip(objectAttachedTo: ref<GameObject>)
native func GetBareStatValueByType(type: gamedataStatType) -> Float
native func GetDynamicTags() -> array<CName>
native func GetEmptySlotsOnItem(out emptySlots: array<TweakDBID>)
native func GetID() -> ItemID
native func GetItemPart(out part: InnerItemData, slotId: TweakDBID)
native func GetItemParts(out parts: array<InnerItemData>)
native func GetItemType() -> gamedataItemType
native func GetLocalizedItemType() -> CName
native func GetName() -> CName
native func GetNameAsString() -> String
native func GetQuantity() -> Int32
native func GetStatsObjectID() -> StatsObjectID
native func GetStatValueByType(type: gamedataStatType) -> Float
native func GetTemporaryStatBundle() -> ref<StatsBundleHandler>
native func GetTimestamp() -> GameTime
native func GetUsedSlotsOnItem(out usedSlots: array<TweakDBID>)
native func GetVariant() -> Int32
native const func HasAnyOfTags(tags: array<CName>) -> Bool
native func HasAttachmentSlot(slotID: TweakDBID) -> Bool
native func HasPartInSlot(slotID: TweakDBID) -> Bool
native func HasPlacementSlot(slotID: TweakDBID) -> Bool
native func HasStatData(type: gamedataStatType) -> Bool
native const func HasTag(tag: CName) -> Bool
native func ReinitializePlayerStats(gameInstance: GameInstance, ownerID: EntityID)
native func RemoveDynamicTag(tag: CName) -> Bool
native func SetDynamicTag(tag: CName) -> Bool
native func SubtractStatsOnUnequip(objectDetachedFrom: ref<GameObject>)
native func UsesVariants() -> Bool