en.Bullet
en.Bullet
Inherits from: Entity
Fields
| Name | Type | |
|---|---|---|
maxDist | F64 | |
ocx | I32 | |
ocy | I32 | |
ox | F64 | |
oy | F64 | |
ignoreWalls | Bool | |
ignoreOneWays | Bool | |
isHeavy | Bool | |
autoSetDir | Bool | |
switchToMagicOnPierce | Bool | |
bulletRotation | F64 | |
canStickInWall | Bool | |
ignoreTrashMobs | Bool | |
disabled | Bool | |
pierceCount | I32 | |
tail | en.BulletTail | |
atk | tool.atk.AttackData | |
endGravity | F64 | |
hitLightIntensity | F64 | |
noCounterBullet | Bool | |
noParry | Bool | |
destroyOnCinematic | Bool | |
itemAmmoRef | tool.InventItem | |
ammoDropped | Bool | |
bulletDelayF | F64 | |
hitFrequency | F64 | |
ammoSkin | String | |
tailDuration | F64 | |
spriteName | String | |
beforeHit | Fun | |
onBulletHit | Fun | |
onBulletKill | Fun | |
onFixedUpdate | Fun | |
onBulletDelayDone | Fun | |
canHit | Fun | |
onDispose | Fun | |
onPostUpdate | Fun | |
onBeforeRender | Fun | |
doExtraTail | Fun | |
onBlock | Fun | |
onCountered | Fun | |
hitSound | hxd.res.Sound | |
blockSound | hxd.res.Sound | |
onReachMaxDist | Fun | |
| static | __clid | I32 |
| static | __eclids | hl.types.ArrayBytes_Int |
Protos
f@1735removeAmmoDrop(en.Bullet) → Voidf@1736hasAmmoToRetrieve(en.Bullet) → Boolf@1737stickAmmoOnVictims(en.Bullet) → Boolf@1738initAmmo(en.Bullet, en.loot.Ammo) → Voidf@1739shootFromWeapon(en.Bullet, tool.Weapon, Ref, Ref, Ref) → Voidf@1740shouldSave(en.Bullet) → Boolf@1741initGfx(en.Bullet) → Voidf@1742initBulletSprite(en.Bullet) → Voidf@1743initSprite(en.Bullet, libs.heaps.slib.SpriteLib, String, Null, Null, Null, Null, Null, h3d.mat.Texture) → Voidf@1744enableHeroFalling(en.Bullet, Null) → Voidf@1745enableDefaultGravity(en.Bullet, Null) → Voidf@1746initOrigin(en.Bullet, F64, F64) → Voidf@1747offsetOrigin(en.Bullet, F64, F64) → Voidf@1753defaultCanHit(en.Bullet, Entity) → Boolf@1755getCoveredDistSqr(en.Bullet) → F64f@1757dispose(en.Bullet) → Voidf@1759postUpdate(en.Bullet) → Voidf@1760setSpriteTransform(en.Bullet) → Voidf@1762beforeRender(en.Bullet) → Voidf@1763doTail(en.Bullet) → Voidf@1764getTailColor(en.Bullet) → I32f@1765onStep(en.Bullet) → Voidf@1766onTouchGround(en.Bullet) → Voidf@1767blockOnCollision(en.Bullet) → Voidf@1768createAmmoDrop(en.Bullet) → en.loot.Ammof@1769onHitWall(en.Bullet) → Voidf@1772attachFakeBulletStuck(en.Bullet) → Voidf@1773createFakeBulletSprite(en.Bullet) → libs.heaps.slib.HSpritef@1774attachFakeBulletBounce(en.Bullet) → Voidf@1775playHitSound(en.Bullet) → Voidf@1776playBlockSound(en.Bullet) → Voidf@1777block(en.Bullet, Bool) → Voidf@1778onTouchValidTarget(en.Bullet, Entity) → Voidf@1779onPierce(en.Bullet) → Voidf@1780onReachSomething(en.Bullet) → Voidf@1781getElapsedDistCase(en.Bullet) → F64f@1782getElapsedDistRatio(en.Bullet) → F64f@1783onTouch(en.Bullet, Entity) → Voidf@1784vanish(en.Bullet) → Voidf@1785onCooldownEnd(en.Bullet, String, I32) → Voidf@1786_isOnScreen(en.Bullet) → Boolf@1787onOutOfGameChange(en.Bullet) → Voidf@1788onFatalFallStart(en.Bullet, Ref) → Voidf@1789onLeaveMap(en.Bullet) → Voidf@1791reachMaxDist(en.Bullet) → Voidf@1792updateDir(en.Bullet) → Voidf@1793fixedUpdate(en.Bullet) → Voidf@1794getCLID(en.Bullet) → I32f@1795serialize(en.Bullet, hxbit.Serializer) → Voidf@1796getSerializeSchema(en.Bullet) → hxbit.Schemaf@1797unserializeInit(en.Bullet) → Voidf@1798unserialize(en.Bullet, hxbit.Serializer) → Voidf@1799getEntityCLIDS(en.Bullet) → hl.types.ArrayBytes_Int
Bindings
f@1790onReachMaxDist(en.Bullet) → Voidf@1771onCountered(en.Bullet) → Voidf@1770onBlock(en.Bullet, Bool) → Voidf@1761onBeforeRender(en.Bullet) → Voidf@1758onPostUpdate(en.Bullet) → Voidf@1756onDispose(en.Bullet) → Voidf@1754canHit(en.Bullet, Entity) → Boolf@1752onBulletDelayDone(en.Bullet) → Voidf@1751onFixedUpdate(en.Bullet) → Voidf@1750onBulletKill(en.Bullet, Entity, tool.atk.AttackData) → Voidf@1749onBulletHit(en.Bullet, Entity, tool.atk.AttackData) → Voidf@1748beforeHit(en.Bullet, Entity, tool.atk.AttackData) → Void- static
f@4908__constructor__(en.Bullet, Entity, tool.atk.AttackData, F64, Null, String) → Void