class
ExplodingBullet
- 14 properties
- 6 functions
- 1 derived class
Extends BaseBullet BaseProjectile game.ItemObject game.TimeDilatable game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Derived
Properties
| Property | Type | Offset | |
|---|---|---|---|
explosionTime | float | 0x1B0 | scripted |
effectReference | game.EffectRef | 0x1B8 | scripted |
hasExploded | bool | 0x1E0 | scripted |
initialPosition | Vector4 | 0x1F0 | scripted |
trailStarted | bool | 0x200 | scripted |
weapon | WeakHandle<game.weapon.Object> | 0x208 | scripted |
attack_record | game.data.Attack_Record? | 0x218 | scripted |
attackID | TDBID | 0x228 | scripted |
colliderBox | Vector4 | 0x230 | scripted |
rotation | Quaternion | 0x240 | scripted |
range | float | 0x250 | scripted |
explodeAfterRangeTravelled | bool | 0x254 | scripted |
attack | game.IAttack? | 0x258 | scripted |
BulletCollisionEvaluator | BulletCollisionEvaluator? | 0x268 | scripted |
Functions
bool OnProjectileInitialize(game.projectile.SetUpEvent eventData)overrideRTTIre.Hooks.Place( "ExplodingBullet", "OnProjectileInitialize", (ExplodingBullet_OnProjectileInitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ExplodingBullet_OnProjectileInitialize( ExplodingBullet self, game.projectile.SetUpEvent? eventData );bool OnTick(game.projectile.TickEvent eventData)overrideRTTIre.Hooks.Place( "ExplodingBullet", "OnTick", (ExplodingBullet_OnTick x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ExplodingBullet_OnTick( ExplodingBullet self, game.projectile.TickEvent? eventData );bool OnCollision(game.projectile.HitEvent projectileHitEvent)overrideRTTIre.Hooks.Place( "ExplodingBullet", "OnCollision", (ExplodingBullet_OnCollision x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ExplodingBullet_OnCollision( ExplodingBullet self, game.projectile.HitEvent? projectileHitEvent );void Explode(Vector4? position)RTTIre.Hooks.PlaceVoid( "ExplodingBullet", "Explode;Vector4", (ExplodingBullet_Explode x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ExplodingBullet_Explode( ExplodingBullet self, Vector4? position );void RunGameEffect()RTTIre.Hooks.PlaceVoid( "ExplodingBullet", "RunGameEffect;", (ExplodingBullet_RunGameEffect x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ExplodingBullet_RunGameEffect( ExplodingBullet self );void DealDamage(game.projectile.HitEvent eventData)overrideRTTIre.Hooks.PlaceVoid( "ExplodingBullet", "DealDamage;gameprojectileHitEvent", (ExplodingBullet_DealDamage x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ExplodingBullet_DealDamage( ExplodingBullet self, game.projectile.HitEvent? eventData );