tool.InventItem
tool.InventItem
Fields
| Name | Type | |
|---|---|---|
kind | tool.InventItemKind | |
pairedItem | tool.InventItem | |
posID | I32 | |
_itemLevel | I32 | |
affixes | hl.types.ArrayObj | |
inactiveAffixes | hl.types.ArrayObj | |
ammo | I32 | |
permanentId | I32 | |
altItem | tool.InventItem | |
overridedMoneyValue | Null | |
_itemData | Virtual[ambiantDesc, castCD, cellCost, commonProps, dlc, droppable, gameplayDesc, group, icon, id, legendAffixes, moneyCost, name, props, synergy, tags, tier1, tier2] | |
getCountdown | Fun | |
__uid | I32 | |
| “ | Virtual[unserializeInit, unserialize, serialize, getSerializeSchema, getCLID, __uid] | |
| static | DEFAULT_TIER_IF_NULL | I32 |
| static | fromItem | Fun |
| static | fixHealingKind | Fun |
| static | canBeUpgraded | Fun |
| static | __clid | I32 |
Protos
f@472getRawItemLevel(tool.InventItem) → I32f@473getAdjustedItemLevel(tool.InventItem) → I32f@474setItemLevel(tool.InventItem, I32) → I32f@475onReload(tool.InventItem) → Voidf@476clone(tool.InventItem, Bool, String) → tool.InventItemf@477get_pairedItem(tool.InventItem) → tool.InventItemf@478setPairedItem(tool.InventItem, tool.InventItem) → tool.InventItemf@479createPairedItem(tool.InventItem) → tool.InventItemf@480getAffixSimilarityRatio(tool.InventItem, tool.InventItem) → F64f@481getRandomTierAffixCount(tool.InventItem) → I32f@482getMiscAffixCount(tool.InventItem) → I32f@483getStatBonusCount(tool.InventItem) → I32f@484getDamageBonus(tool.InventItem) → F64f@485canBeForged(tool.InventItem) → Boolf@486getForgeRerollCost(tool.InventItem) → I32f@487getForgeRefineCost(tool.InventItem) → I32f@488getUpgradeLevel(tool.InventItem) → I32f@489getDamageReduction(tool.InventItem) → F64f@490hasLevels(tool.InventItem) → Boolf@491hasDamageBonus(tool.InventItem) → Boolf@492hasDamageReduction(tool.InventItem) → Boolf@493refillAmmo(tool.InventItem) → Voidf@494getMaxAmmo(tool.InventItem) → I32f@495restoreAmmoOnReload(tool.InventItem, pr.Level) → Voidf@496canBeSold(tool.InventItem, Null) → Boolf@497getSellValue(tool.InventItem, Null) → I32f@498canReceiveAffixes(tool.InventItem) → Boolf@499canReceiveAffix(tool.InventItem, String) → Boolf@500hasTag(tool.InventItem, String) → Boolf@501removeAllAffixes(tool.InventItem, String) → Voidf@502removeOneAffix(tool.InventItem, String) → Voidf@503addAffix(tool.InventItem, String, Ref) → tool.InventItemf@504addInactiveAffix(tool.InventItem, String) → Voidf@505clearAffixes(tool.InventItem) → Voidf@506hasAffix(tool.InventItem, String) → Boolf@507authorizeDoublons(tool.InventItem) → Boolf@508isUsefulFor(tool.InventItem, en.Hero) → Boolf@509isHealing(tool.InventItem) → Boolf@510isHealingOrFlask(tool.InventItem) → Boolf@511isSmallHealing(tool.InventItem) → Boolf@512isLargeHealing(tool.InventItem) → Boolf@513isWrongHealingKind(tool.InventItem) → Boolf@515toString(tool.InventItem) → Stringf@516getActiveCooldown(tool.InventItem, I32, I32, I32) → F64f@517getHeartsCost(tool.InventItem) → I32f@518getGameplayDesc(tool.InventItem, Null) → Stringf@519getAmbiantDesc(tool.InventItem) → Stringf@520getAffixDesc(tool.InventItem, String) → Stringf@521_replaceVars(tool.InventItem, String, hl.types.ArrayDyn, Null, Null) → Stringf@522getNameSuffix(tool.InventItem) → Stringf@523getHtmlName(tool.InventItem, String, Ref) → Stringf@524getOnlyName(tool.InventItem, Ref) → Stringf@525getDefaultPriceWithAffixes(tool.InventItem) → I32f@526getBrPriceWithAffixes(tool.InventItem) → I32f@527getDefaultPriceWithoutAffixes(tool.InventItem) → I32f@528hasTierScaling(tool.InventItem) → Boolf@529isAffectedByTier(tool.InventItem, Entity, String) → Boolf@530isTierCategory(tool.InventItem, String) → Boolf@531getItemKind(tool.InventItem) → Stringf@532isSame(tool.InventItem, tool.InventItem) → Boolf@533isGroup(tool.InventItem, I32) → Boolf@534getGroup(tool.InventItem) → Nullf@535getWeaponData(tool.InventItem) → Virtual[airControlAlways, allowCrouch, cannotBeCanceledByWeapon, isACancel, item, strikeChain]f@536getShieldAbsorb(tool.InventItem) → F64f@537getBaseWeaponDPS(tool.InventItem, Null) → I32f@538getBaseShieldDamage(tool.InventItem, Null) → F64f@539activeHasDamage(tool.InventItem) → Boolf@540getBaseActiveDamage(tool.InventItem) → F64f@541activeHasDPS(tool.InventItem) → Boolf@542getBaseActiveDPS(tool.InventItem) → F64f@543getPetBaseActiveDPS(tool.InventItem) → F64f@544canHaveSynergy(tool.InventItem) → Boolf@545countSynergy(tool.InventItem, String, Bool) → I32f@546getCLID(tool.InventItem) → I32f@547serialize(tool.InventItem, hxbit.Serializer) → Voidf@548getSerializeSchema(tool.InventItem) → hxbit.Schemaf@549unserializeInit(tool.InventItem) → Voidf@550unserialize(tool.InventItem, hxbit.Serializer) → Voidf@551__string(tool.InventItem) → Bytes
Bindings
f@514getCountdown(tool.InventItem) → Virtual[i, max]- static
f@555__constructor__(tool.InventItem, tool.InventItemKind) → Void - static
f@554canBeUpgraded(Virtual[ambiantDesc, castCD, cellCost, commonProps, dlc, droppable, gameplayDesc, group, icon, id, legendAffixes, moneyCost, name, props, synergy, tags, tier1, tier2]) → Bool - static
f@553fixHealingKind(tool.InventItem) → tool.InventItem - static
f@552fromItem(String, Null) → tool.InventItem