REDNODE / GAME API

ItemPreferredComparisonResolver

classscriptedClass

extends IScriptable › ISerializable

Properties 6

NameTypeFlags
cacheadAreaItemsarray<ref<ItemPreferredAreaItems>>scriptedprivate
cachedComparableTypesarray<ref<ItemComparableTypesCache>>scriptedprivate
dataManagerref<InventoryDataManagerV2>scriptedprivate
forcedCompareItemInventoryItemDatascriptedprivate
typeComparableItemsCachearray<ref<TypeComparableItemsCache>>scriptedprivate
useForceCompareBoolscriptedprivate

Methods 17

private final func CacheComparableType(item: script_ref<InventoryItemData>) -> ref<ItemComparableTypesCache>scripted
public final func CompareItemsByQuality(lhs: script_ref<InventoryItemData>, rhs: script_ref<InventoryItemData>) -> ItemComparisonStatescripted
public final func CompareItemsByStats(lhs: script_ref<InventoryItemData>, rhs: script_ref<InventoryItemData>) -> ItemComparisonStatescripted
public final func DisableForceComparedItem()scripted
public final func FlushCache()scripted
public final func ForceComparedItem(item: script_ref<InventoryItemData>)scripted
public final func ForceDisableComparison()scripted
private final func GetAreaItems(equipmentArea: gamedataEquipmentArea) -> ref<ItemPreferredAreaItems>scripted
public final func GetComparableItems(item: script_ref<InventoryItemData>) -> array<InventoryItemData>scripted
private final func GetComparableTypes(item: script_ref<InventoryItemData>) -> ref<ItemComparableTypesCache>scripted
public final func GetItemComparisonState(item: script_ref<InventoryItemData>) -> ItemComparisonStatescripted
public final func GetPreferredComparisonItem(item: script_ref<InventoryItemData>) -> InventoryItemDatascripted
private final func GetTypeComparableItems(item: script_ref<InventoryItemData>) -> ref<TypeComparableItemsCache>scripted
private final func IsAreaSelfComparable(item: script_ref<InventoryItemData>) -> Boolscripted
public final func IsBetterComparableNewItem(uiScriptableSystem: wref<UIScriptableSystem>, item: script_ref<InventoryItemData>) -> Boolscripted
public final func IsComparable(item: script_ref<InventoryItemData>) -> Boolscripted
public final func IsTypeComparable(baseItem: script_ref<InventoryItemData>, comparedType: gamedataItemType) -> Boolscripted