ItemPreferredComparisonResolver
classscriptedClass
extends IScriptable › ISerializable
Properties 6
| Name | Type | Flags |
|---|---|---|
cacheadAreaItems | array<ref<ItemPreferredAreaItems>> | scriptedprivate |
cachedComparableTypes | array<ref<ItemComparableTypesCache>> | scriptedprivate |
dataManager | ref<InventoryDataManagerV2> | scriptedprivate |
forcedCompareItem | InventoryItemData | scriptedprivate |
typeComparableItemsCache | array<ref<TypeComparableItemsCache>> | scriptedprivate |
useForceCompare | Bool | scriptedprivate |
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