Skip to content

en.Pet

en.Pet

Inherits from: Entity

Fields

NameType
itemtool.InventItem
_baseInfCacheVirtual[ambiantDesc, castCD, cellCost, commonProps, dlc, droppable, gameplayDesc, group, icon, id, legendAffixes, moneyCost, name, props, synergy, tags, tier1, tier2]
_buffedInfCacheVirtual[ambiantDesc, castCD, cellCost, commonProps, dlc, droppable, gameplayDesc, group, icon, id, legendAffixes, moneyCost, name, props, synergy, tags, tier1, tier2]
targetEntity
petIdxI32
canBePetBool
staticfindFun
statictryToBuffFun
static__clidI32
static__eclidshl.types.ArrayBytes_Int

Protos

  • f@13367 init(en.Pet) → Void
  • f@13368 subscribeToHeroSignals(en.Pet, en.Hero) → Void
  • f@13369 initSprite(en.Pet, libs.heaps.slib.SpriteLib, String, Null, Null, Null, Null, Null, h3d.mat.Texture) → Void
  • f@13370 dispose(en.Pet) → Void
  • f@13371 depop(en.Pet) → Void
  • f@13372 onParentAttackResultReceived(en.Pet, tool.atk.AttackData) → Void
  • f@13373 onParentAttackResultDealt(en.Pet, tool.atk.AttackData, Entity) → Void
  • f@13374 onParentDamaged(en.Pet, tool.atk.AttackData) → Void
  • f@13375 lockAiS(en.Pet, F64) → Void
  • f@13376 aiLocked(en.Pet) → Bool
  • f@13377 unlockAi(en.Pet) → Void
  • f@13378 interruptSkills(en.Pet) → Void
  • f@13379 canBuff(en.Pet) → Bool
  • f@13380 buff(en.Pet, tool.InventItem) → Void
  • f@13381 debuff(en.Pet, tool.InventItem) → Void
  • f@13382 onBuff(en.Pet, tool.InventItem) → Void
  • f@13383 onDebuff(en.Pet, tool.InventItem) → Void
  • f@13384 onTargetLost(en.Pet) → Void
  • f@13385 onCooldownEnd(en.Pet, String, I32) → Void
  • f@13386 postUpdate(en.Pet) → Void
  • f@13387 onHeroTeleport(en.Pet) → Void
  • f@13388 initTarget(en.Pet) → Void
  • f@13389 playIdleAnim(en.Pet) → Void
  • f@13390 fixedUpdate(en.Pet) → Void
  • f@13391 canBeHit(en.Pet) → Bool
  • f@13392 onLeaveMap(en.Pet) → Void
  • f@13393 destroy(en.Pet) → Void
  • f@13394 canBeActivated(en.Pet, en.Hero) → Bool
  • f@13395 onFocus(en.Pet) → Void
  • f@13396 onActivate(en.Pet, en.Hero, Bool) → Void
  • f@13397 noPetReaction(en.Pet) → Void
  • f@13398 petReaction(en.Pet) → Void
  • f@13399 getCLID(en.Pet) → I32
  • f@13400 serialize(en.Pet, hxbit.Serializer) → Void
  • f@13401 getSerializeSchema(en.Pet) → hxbit.Schema
  • f@13402 unserialize(en.Pet, hxbit.Serializer) → Void
  • f@13403 getEntityCLIDS(en.Pet) → hl.types.ArrayBytes_Int

Bindings

  • static f@13406 __constructor__(en.Pet, pr.Level, I32, I32, Entity, tool.InventItem) → Void
  • static f@13405 tryToBuff(Entity, tool.InventItem) → Null
  • static f@13404 find(Entity, tool.InventItem) → en.Pet