Skip to content

tool.InventItem

tool.InventItem

Fields

NameType
kindtool.InventItemKind
pairedItemtool.InventItem
posIDI32
_itemLevelI32
affixeshl.types.ArrayObj
inactiveAffixeshl.types.ArrayObj
ammoI32
permanentIdI32
altItemtool.InventItem
overridedMoneyValueNull
_itemDataVirtual[ambiantDesc, castCD, cellCost, commonProps, dlc, droppable, gameplayDesc, group, icon, id, legendAffixes, moneyCost, name, props, synergy, tags, tier1, tier2]
getCountdownFun
__uidI32
Virtual[unserializeInit, unserialize, serialize, getSerializeSchema, getCLID, __uid]
staticDEFAULT_TIER_IF_NULLI32
staticfromItemFun
staticfixHealingKindFun
staticcanBeUpgradedFun
static__clidI32

Protos

  • f@472 getRawItemLevel(tool.InventItem) → I32
  • f@473 getAdjustedItemLevel(tool.InventItem) → I32
  • f@474 setItemLevel(tool.InventItem, I32) → I32
  • f@475 onReload(tool.InventItem) → Void
  • f@476 clone(tool.InventItem, Bool, String) → tool.InventItem
  • f@477 get_pairedItem(tool.InventItem) → tool.InventItem
  • f@478 setPairedItem(tool.InventItem, tool.InventItem) → tool.InventItem
  • f@479 createPairedItem(tool.InventItem) → tool.InventItem
  • f@480 getAffixSimilarityRatio(tool.InventItem, tool.InventItem) → F64
  • f@481 getRandomTierAffixCount(tool.InventItem) → I32
  • f@482 getMiscAffixCount(tool.InventItem) → I32
  • f@483 getStatBonusCount(tool.InventItem) → I32
  • f@484 getDamageBonus(tool.InventItem) → F64
  • f@485 canBeForged(tool.InventItem) → Bool
  • f@486 getForgeRerollCost(tool.InventItem) → I32
  • f@487 getForgeRefineCost(tool.InventItem) → I32
  • f@488 getUpgradeLevel(tool.InventItem) → I32
  • f@489 getDamageReduction(tool.InventItem) → F64
  • f@490 hasLevels(tool.InventItem) → Bool
  • f@491 hasDamageBonus(tool.InventItem) → Bool
  • f@492 hasDamageReduction(tool.InventItem) → Bool
  • f@493 refillAmmo(tool.InventItem) → Void
  • f@494 getMaxAmmo(tool.InventItem) → I32
  • f@495 restoreAmmoOnReload(tool.InventItem, pr.Level) → Void
  • f@496 canBeSold(tool.InventItem, Null) → Bool
  • f@497 getSellValue(tool.InventItem, Null) → I32
  • f@498 canReceiveAffixes(tool.InventItem) → Bool
  • f@499 canReceiveAffix(tool.InventItem, String) → Bool
  • f@500 hasTag(tool.InventItem, String) → Bool
  • f@501 removeAllAffixes(tool.InventItem, String) → Void
  • f@502 removeOneAffix(tool.InventItem, String) → Void
  • f@503 addAffix(tool.InventItem, String, Ref) → tool.InventItem
  • f@504 addInactiveAffix(tool.InventItem, String) → Void
  • f@505 clearAffixes(tool.InventItem) → Void
  • f@506 hasAffix(tool.InventItem, String) → Bool
  • f@507 authorizeDoublons(tool.InventItem) → Bool
  • f@508 isUsefulFor(tool.InventItem, en.Hero) → Bool
  • f@509 isHealing(tool.InventItem) → Bool
  • f@510 isHealingOrFlask(tool.InventItem) → Bool
  • f@511 isSmallHealing(tool.InventItem) → Bool
  • f@512 isLargeHealing(tool.InventItem) → Bool
  • f@513 isWrongHealingKind(tool.InventItem) → Bool
  • f@515 toString(tool.InventItem) → String
  • f@516 getActiveCooldown(tool.InventItem, I32, I32, I32) → F64
  • f@517 getHeartsCost(tool.InventItem) → I32
  • f@518 getGameplayDesc(tool.InventItem, Null) → String
  • f@519 getAmbiantDesc(tool.InventItem) → String
  • f@520 getAffixDesc(tool.InventItem, String) → String
  • f@521 _replaceVars(tool.InventItem, String, hl.types.ArrayDyn, Null, Null) → String
  • f@522 getNameSuffix(tool.InventItem) → String
  • f@523 getHtmlName(tool.InventItem, String, Ref) → String
  • f@524 getOnlyName(tool.InventItem, Ref) → String
  • f@525 getDefaultPriceWithAffixes(tool.InventItem) → I32
  • f@526 getBrPriceWithAffixes(tool.InventItem) → I32
  • f@527 getDefaultPriceWithoutAffixes(tool.InventItem) → I32
  • f@528 hasTierScaling(tool.InventItem) → Bool
  • f@529 isAffectedByTier(tool.InventItem, Entity, String) → Bool
  • f@530 isTierCategory(tool.InventItem, String) → Bool
  • f@531 getItemKind(tool.InventItem) → String
  • f@532 isSame(tool.InventItem, tool.InventItem) → Bool
  • f@533 isGroup(tool.InventItem, I32) → Bool
  • f@534 getGroup(tool.InventItem) → Null
  • f@535 getWeaponData(tool.InventItem) → Virtual[airControlAlways, allowCrouch, cannotBeCanceledByWeapon, isACancel, item, strikeChain]
  • f@536 getShieldAbsorb(tool.InventItem) → F64
  • f@537 getBaseWeaponDPS(tool.InventItem, Null) → I32
  • f@538 getBaseShieldDamage(tool.InventItem, Null) → F64
  • f@539 activeHasDamage(tool.InventItem) → Bool
  • f@540 getBaseActiveDamage(tool.InventItem) → F64
  • f@541 activeHasDPS(tool.InventItem) → Bool
  • f@542 getBaseActiveDPS(tool.InventItem) → F64
  • f@543 getPetBaseActiveDPS(tool.InventItem) → F64
  • f@544 canHaveSynergy(tool.InventItem) → Bool
  • f@545 countSynergy(tool.InventItem, String, Bool) → I32
  • f@546 getCLID(tool.InventItem) → I32
  • f@547 serialize(tool.InventItem, hxbit.Serializer) → Void
  • f@548 getSerializeSchema(tool.InventItem) → hxbit.Schema
  • f@549 unserializeInit(tool.InventItem) → Void
  • f@550 unserialize(tool.InventItem, hxbit.Serializer) → Void
  • f@551 __string(tool.InventItem) → Bytes

Bindings

  • f@514 getCountdown(tool.InventItem) → Virtual[i, max]
  • static f@555 __constructor__(tool.InventItem, tool.InventItemKind) → Void
  • static f@554 canBeUpgraded(Virtual[ambiantDesc, castCD, cellCost, commonProps, dlc, droppable, gameplayDesc, group, icon, id, legendAffixes, moneyCost, name, props, synergy, tags, tier1, tier2]) → Bool
  • static f@553 fixHealingKind(tool.InventItem) → tool.InventItem
  • static f@552 fromItem(String, Null) → tool.InventItem