Skip to content

en.Bullet

en.Bullet

Inherits from: Entity

Fields

NameType
maxDistF64
ocxI32
ocyI32
oxF64
oyF64
ignoreWallsBool
ignoreOneWaysBool
isHeavyBool
autoSetDirBool
switchToMagicOnPierceBool
bulletRotationF64
canStickInWallBool
ignoreTrashMobsBool
disabledBool
pierceCountI32
tailen.BulletTail
atktool.atk.AttackData
endGravityF64
hitLightIntensityF64
noCounterBulletBool
noParryBool
destroyOnCinematicBool
itemAmmoReftool.InventItem
ammoDroppedBool
bulletDelayFF64
hitFrequencyF64
ammoSkinString
tailDurationF64
spriteNameString
beforeHitFun
onBulletHitFun
onBulletKillFun
onFixedUpdateFun
onBulletDelayDoneFun
canHitFun
onDisposeFun
onPostUpdateFun
onBeforeRenderFun
doExtraTailFun
onBlockFun
onCounteredFun
hitSoundhxd.res.Sound
blockSoundhxd.res.Sound
onReachMaxDistFun
static__clidI32
static__eclidshl.types.ArrayBytes_Int

Protos

  • f@1735 removeAmmoDrop(en.Bullet) → Void
  • f@1736 hasAmmoToRetrieve(en.Bullet) → Bool
  • f@1737 stickAmmoOnVictims(en.Bullet) → Bool
  • f@1738 initAmmo(en.Bullet, en.loot.Ammo) → Void
  • f@1739 shootFromWeapon(en.Bullet, tool.Weapon, Ref, Ref, Ref) → Void
  • f@1740 shouldSave(en.Bullet) → Bool
  • f@1741 initGfx(en.Bullet) → Void
  • f@1742 initBulletSprite(en.Bullet) → Void
  • f@1743 initSprite(en.Bullet, libs.heaps.slib.SpriteLib, String, Null, Null, Null, Null, Null, h3d.mat.Texture) → Void
  • f@1744 enableHeroFalling(en.Bullet, Null) → Void
  • f@1745 enableDefaultGravity(en.Bullet, Null) → Void
  • f@1746 initOrigin(en.Bullet, F64, F64) → Void
  • f@1747 offsetOrigin(en.Bullet, F64, F64) → Void
  • f@1753 defaultCanHit(en.Bullet, Entity) → Bool
  • f@1755 getCoveredDistSqr(en.Bullet) → F64
  • f@1757 dispose(en.Bullet) → Void
  • f@1759 postUpdate(en.Bullet) → Void
  • f@1760 setSpriteTransform(en.Bullet) → Void
  • f@1762 beforeRender(en.Bullet) → Void
  • f@1763 doTail(en.Bullet) → Void
  • f@1764 getTailColor(en.Bullet) → I32
  • f@1765 onStep(en.Bullet) → Void
  • f@1766 onTouchGround(en.Bullet) → Void
  • f@1767 blockOnCollision(en.Bullet) → Void
  • f@1768 createAmmoDrop(en.Bullet) → en.loot.Ammo
  • f@1769 onHitWall(en.Bullet) → Void
  • f@1772 attachFakeBulletStuck(en.Bullet) → Void
  • f@1773 createFakeBulletSprite(en.Bullet) → libs.heaps.slib.HSprite
  • f@1774 attachFakeBulletBounce(en.Bullet) → Void
  • f@1775 playHitSound(en.Bullet) → Void
  • f@1776 playBlockSound(en.Bullet) → Void
  • f@1777 block(en.Bullet, Bool) → Void
  • f@1778 onTouchValidTarget(en.Bullet, Entity) → Void
  • f@1779 onPierce(en.Bullet) → Void
  • f@1780 onReachSomething(en.Bullet) → Void
  • f@1781 getElapsedDistCase(en.Bullet) → F64
  • f@1782 getElapsedDistRatio(en.Bullet) → F64
  • f@1783 onTouch(en.Bullet, Entity) → Void
  • f@1784 vanish(en.Bullet) → Void
  • f@1785 onCooldownEnd(en.Bullet, String, I32) → Void
  • f@1786 _isOnScreen(en.Bullet) → Bool
  • f@1787 onOutOfGameChange(en.Bullet) → Void
  • f@1788 onFatalFallStart(en.Bullet, Ref) → Void
  • f@1789 onLeaveMap(en.Bullet) → Void
  • f@1791 reachMaxDist(en.Bullet) → Void
  • f@1792 updateDir(en.Bullet) → Void
  • f@1793 fixedUpdate(en.Bullet) → Void
  • f@1794 getCLID(en.Bullet) → I32
  • f@1795 serialize(en.Bullet, hxbit.Serializer) → Void
  • f@1796 getSerializeSchema(en.Bullet) → hxbit.Schema
  • f@1797 unserializeInit(en.Bullet) → Void
  • f@1798 unserialize(en.Bullet, hxbit.Serializer) → Void
  • f@1799 getEntityCLIDS(en.Bullet) → hl.types.ArrayBytes_Int

Bindings

  • f@1790 onReachMaxDist(en.Bullet) → Void
  • f@1771 onCountered(en.Bullet) → Void
  • f@1770 onBlock(en.Bullet, Bool) → Void
  • f@1761 onBeforeRender(en.Bullet) → Void
  • f@1758 onPostUpdate(en.Bullet) → Void
  • f@1756 onDispose(en.Bullet) → Void
  • f@1754 canHit(en.Bullet, Entity) → Bool
  • f@1752 onBulletDelayDone(en.Bullet) → Void
  • f@1751 onFixedUpdate(en.Bullet) → Void
  • f@1750 onBulletKill(en.Bullet, Entity, tool.atk.AttackData) → Void
  • f@1749 onBulletHit(en.Bullet, Entity, tool.atk.AttackData) → Void
  • f@1748 beforeHit(en.Bullet, Entity, tool.atk.AttackData) → Void
  • static f@4908 __constructor__(en.Bullet, Entity, tool.atk.AttackData, F64, Null, String) → Void