class sample
Bullet
sample.Bullet
- 6 properties
- 10 functions
Extends BaseProjectile game.ItemObject game.TimeDilatable game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
meshComponent | ent.IComponent? | 0x180 | scripted |
countTime | float | 0x190 | scripted |
startVelocity | float | 0x194 | scripted |
lifetime | float | 0x198 | scripted |
BulletCollisionEvaluator | BulletCollisionEvaluator? | 0x1A0 | scripted |
alive | bool | 0x1B0 | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIre.Hooks.Place( "sampleBullet", "OnRequestComponents", (Bullet_OnRequestComponents x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Bullet_OnRequestComponents( sample.Bullet self, ent.EntityRequestComponentsInterface ri );bool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIre.Hooks.Place( "sampleBullet", "OnTakeControl", (Bullet_OnTakeControl x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Bullet_OnTakeControl( sample.Bullet self, ent.EntityResolveComponentsInterface ri );void Reset()RTTIre.Hooks.PlaceVoid( "sampleBullet", "Reset;", (Bullet_Reset x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Bullet_Reset( sample.Bullet self );bool OnProjectileInitialize(game.projectile.SetUpEvent eventData)overrideRTTIre.Hooks.Place( "sampleBullet", "OnProjectileInitialize", (Bullet_OnProjectileInitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Bullet_OnProjectileInitialize( sample.Bullet self, game.projectile.SetUpEvent? eventData );void StartTrailEffect()RTTIre.Hooks.PlaceVoid( "sampleBullet", "StartTrailEffect;", (Bullet_StartTrailEffect x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Bullet_StartTrailEffect( sample.Bullet self );bool OnShoot(game.projectile.ShootEvent eventData)overrideRTTIre.Hooks.Place( "sampleBullet", "OnShoot", (Bullet_OnShoot x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Bullet_OnShoot( sample.Bullet self, game.projectile.ShootEvent? eventData );bool OnShootTarget(game.projectile.ShootTargetEvent eventData)overrideRTTIre.Hooks.Place( "sampleBullet", "OnShootTarget", (Bullet_OnShootTarget x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Bullet_OnShootTarget( sample.Bullet self, game.projectile.ShootTargetEvent? eventData );bool OnTick(game.projectile.TickEvent eventData)RTTIre.Hooks.Place( "sampleBullet", "OnTick", (Bullet_OnTick x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Bullet_OnTick( sample.Bullet self, game.projectile.TickEvent? eventData );bool OnCollision(game.projectile.HitEvent projectileHitEvent)overrideRTTIre.Hooks.Place( "sampleBullet", "OnCollision", (Bullet_OnCollision x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Bullet_OnCollision( sample.Bullet self, game.projectile.HitEvent? projectileHitEvent );void DealDamage(game.projectile.HitEvent eventData)RTTIre.Hooks.PlaceVoid( "sampleBullet", "DealDamage;gameprojectileHitEvent", (Bullet_DealDamage x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Bullet_DealDamage( sample.Bullet self, game.projectile.HitEvent? eventData );