class sample
BulletGeneric
sample.BulletGeneric
- 6 properties
- 9 functions
Extends BaseProjectile game.ItemObject game.TimeDilatable game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
meshComponent | ent.IComponent? | 0x180 | scripted |
damage | game.EffectInstance? | 0x190 | scripted |
countTime | float | 0x1A0 | scripted |
startVelocity | float | 0x1A4 | scripted |
lifetime | float | 0x1A8 | scripted |
alive | bool | 0x1AC | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIre.Hooks.Place( "sampleBulletGeneric", "OnRequestComponents", (BulletGeneric_OnRequestComponents x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct BulletGeneric_OnRequestComponents( sample.BulletGeneric self, ent.EntityRequestComponentsInterface ri );bool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIre.Hooks.Place( "sampleBulletGeneric", "OnTakeControl", (BulletGeneric_OnTakeControl x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct BulletGeneric_OnTakeControl( sample.BulletGeneric self, ent.EntityResolveComponentsInterface ri );void Reset()RTTIre.Hooks.PlaceVoid( "sampleBulletGeneric", "Reset;", (BulletGeneric_Reset x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct BulletGeneric_Reset( sample.BulletGeneric self );bool OnProjectileInitialize(game.projectile.SetUpEvent eventData)overrideRTTIre.Hooks.Place( "sampleBulletGeneric", "OnProjectileInitialize", (BulletGeneric_OnProjectileInitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct BulletGeneric_OnProjectileInitialize( sample.BulletGeneric self, game.projectile.SetUpEvent? eventData );void StartTrailEffect()RTTIre.Hooks.PlaceVoid( "sampleBulletGeneric", "StartTrailEffect;", (BulletGeneric_StartTrailEffect x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct BulletGeneric_StartTrailEffect( sample.BulletGeneric self );bool OnShoot(game.projectile.ShootEvent eventData)overrideRTTIre.Hooks.Place( "sampleBulletGeneric", "OnShoot", (BulletGeneric_OnShoot x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct BulletGeneric_OnShoot( sample.BulletGeneric self, game.projectile.ShootEvent? eventData );bool OnShootTarget(game.projectile.ShootTargetEvent eventData)overrideRTTIre.Hooks.Place( "sampleBulletGeneric", "OnShootTarget", (BulletGeneric_OnShootTarget x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct BulletGeneric_OnShootTarget( sample.BulletGeneric self, game.projectile.ShootTargetEvent? eventData );bool OnTick(game.projectile.TickEvent eventData)RTTIre.Hooks.Place( "sampleBulletGeneric", "OnTick", (BulletGeneric_OnTick x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct BulletGeneric_OnTick( sample.BulletGeneric self, game.projectile.TickEvent? eventData );bool OnCollision(game.projectile.HitEvent projectileHitEvent)overrideRTTIre.Hooks.Place( "sampleBulletGeneric", "OnCollision", (BulletGeneric_OnCollision x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct BulletGeneric_OnCollision( sample.BulletGeneric self, game.projectile.HitEvent? projectileHitEvent );