REDNODE / GAME API

ItemObject

classnative name gameItemObjectnative

extends TimeDilatable › GameObject › GameEntity › Entity › IScriptable › ISerializable

Extended by 6 types

BaseProjectile gameGarmentItemObject InspectableItemObject ProjectileLauncherRound WeaponGrenade WeaponObject

Properties 4

NameTypeFlags
isBrokenBoolscriptedprivate
isIconicBoolscriptedprivate
lootQualitygamedataQualityscriptedprivate
updateBucketUpdateBucketEnumoverriding

Methods 26

public const func DeterminGameplayRole() -> EGameplayRolescripted
private final func EvaluateLootQuality()scripted
protected func EvaluateLootQualityByTask()scripted
protected final func EvaluateLootQualityTask(data: ref<ScriptTaskData>)scripted
native func GetAnimationParameters() -> array<CName>
native const func GetConnectedItemDrop() -> wref<gameItemDropObject>
public const func GetCurrentOutline() -> EFocusOutlineTypescripted
public const func GetDefaultHighlight() -> ref<FocusForcedHighlightData>scripted
public const func GetIsBroken() -> Boolscripted
public const func GetIsIconic() -> Boolscripted
native const func GetItemData() -> wref<gameItemData>
native func GetItemID() -> ItemID
public const func GetLootQuality() -> gamedataQualityscripted
protected final const func HasValidLootQuality() -> Boolscripted
native func IsClientSideOnlyGadget() -> Bool
native const func IsConnectedWithDrop() -> Bool
public const func IsContainer() -> Boolscripted
public const func IsQuest() -> Boolscripted
native const func IsVisualSpawnAttached() -> Bool
protected cb func OnEvaluateLootQuality(evt: ref<gameEvaluateLootQualityEvent>) -> Boolscripted
protected cb func OnGameAttached() -> Boolscripted
protected cb func OnItemLooted(evt: ref<ItemLootedEvent>) -> Boolscripted
protected cb func OnVisualSpawnAttached() -> Boolscripted
native func QueueEventToChildItems(evt: ref<Event>)
protected const func ShouldRegisterToHUD() -> Boolscripted
private final func ToggleLootHighlight(enable: Bool)scripted