en.Pet
en.Pet
Inherits from: Entity
Fields
| Name | Type | |
|---|---|---|
item | tool.InventItem | |
_baseInfCache | Virtual[ambiantDesc, castCD, cellCost, commonProps, dlc, droppable, gameplayDesc, group, icon, id, legendAffixes, moneyCost, name, props, synergy, tags, tier1, tier2] | |
_buffedInfCache | Virtual[ambiantDesc, castCD, cellCost, commonProps, dlc, droppable, gameplayDesc, group, icon, id, legendAffixes, moneyCost, name, props, synergy, tags, tier1, tier2] | |
target | Entity | |
petIdx | I32 | |
canBePet | Bool | |
| static | find | Fun |
| static | tryToBuff | Fun |
| static | __clid | I32 |
| static | __eclids | hl.types.ArrayBytes_Int |
Protos
f@13367init(en.Pet) → Voidf@13368subscribeToHeroSignals(en.Pet, en.Hero) → Voidf@13369initSprite(en.Pet, libs.heaps.slib.SpriteLib, String, Null, Null, Null, Null, Null, h3d.mat.Texture) → Voidf@13370dispose(en.Pet) → Voidf@13371depop(en.Pet) → Voidf@13372onParentAttackResultReceived(en.Pet, tool.atk.AttackData) → Voidf@13373onParentAttackResultDealt(en.Pet, tool.atk.AttackData, Entity) → Voidf@13374onParentDamaged(en.Pet, tool.atk.AttackData) → Voidf@13375lockAiS(en.Pet, F64) → Voidf@13376aiLocked(en.Pet) → Boolf@13377unlockAi(en.Pet) → Voidf@13378interruptSkills(en.Pet) → Voidf@13379canBuff(en.Pet) → Boolf@13380buff(en.Pet, tool.InventItem) → Voidf@13381debuff(en.Pet, tool.InventItem) → Voidf@13382onBuff(en.Pet, tool.InventItem) → Voidf@13383onDebuff(en.Pet, tool.InventItem) → Voidf@13384onTargetLost(en.Pet) → Voidf@13385onCooldownEnd(en.Pet, String, I32) → Voidf@13386postUpdate(en.Pet) → Voidf@13387onHeroTeleport(en.Pet) → Voidf@13388initTarget(en.Pet) → Voidf@13389playIdleAnim(en.Pet) → Voidf@13390fixedUpdate(en.Pet) → Voidf@13391canBeHit(en.Pet) → Boolf@13392onLeaveMap(en.Pet) → Voidf@13393destroy(en.Pet) → Voidf@13394canBeActivated(en.Pet, en.Hero) → Boolf@13395onFocus(en.Pet) → Voidf@13396onActivate(en.Pet, en.Hero, Bool) → Voidf@13397noPetReaction(en.Pet) → Voidf@13398petReaction(en.Pet) → Voidf@13399getCLID(en.Pet) → I32f@13400serialize(en.Pet, hxbit.Serializer) → Voidf@13401getSerializeSchema(en.Pet) → hxbit.Schemaf@13402unserialize(en.Pet, hxbit.Serializer) → Voidf@13403getEntityCLIDS(en.Pet) → hl.types.ArrayBytes_Int
Bindings
- static
f@13406__constructor__(en.Pet, pr.Level, I32, I32, Entity, tool.InventItem) → Void - static
f@13405tryToBuff(Entity, tool.InventItem) → Null - static
f@13404find(Entity, tool.InventItem) → en.Pet