class
ClaymoreMine
- 6 properties
- 15 functions
Extends game.weapon.Object game.ItemObject game.TimeDilatable game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
visualComponent | ent.MeshComponent? | 0x1E0 | scripted |
triggerAreaIndicator | ent.MeshComponent? | 0x1F0 | scripted |
shootCollision | ent.SimpleColliderComponent? | 0x200 | scripted |
triggerComponent | game.StaticTriggerAreaComponent? | 0x210 | scripted |
alive | bool | 0x220 | scripted |
armed | bool | 0x221 | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIre.Hooks.Place( "ClaymoreMine", "OnRequestComponents", (ClaymoreMine_OnRequestComponents x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ClaymoreMine_OnRequestComponents( ClaymoreMine self, ent.EntityRequestComponentsInterface ri );bool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIre.Hooks.Place( "ClaymoreMine", "OnTakeControl", (ClaymoreMine_OnTakeControl x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ClaymoreMine_OnTakeControl( ClaymoreMine self, ent.EntityResolveComponentsInterface ri );bool OnGameAttached()overrideRTTIre.Hooks.Place( "ClaymoreMine", "OnGameAttached", (ClaymoreMine_OnGameAttached x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ClaymoreMine_OnGameAttached( ClaymoreMine self );bool OnProjectileInitialize(game.projectile.SetUpEvent eventData)RTTIre.Hooks.Place( "ClaymoreMine", "OnProjectileInitialize", (ClaymoreMine_OnProjectileInitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ClaymoreMine_OnProjectileInitialize( ClaymoreMine self, game.projectile.SetUpEvent? eventData );bool OnHit(game.events.HitEvent evt)overrideRTTIre.Hooks.Place( "ClaymoreMine", "OnHit", (ClaymoreMine_OnHit x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ClaymoreMine_OnHit( ClaymoreMine self, game.events.HitEvent? evt );void AdjustRotation()RTTIre.Hooks.PlaceVoid( "ClaymoreMine", "AdjustRotation;", (ClaymoreMine_AdjustRotation x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ClaymoreMine_AdjustRotation( ClaymoreMine self );bool OnAreaEnter(ent.AreaEnteredEvent evt)RTTIre.Hooks.Place( "ClaymoreMine", "OnAreaEnter", (ClaymoreMine_OnAreaEnter x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ClaymoreMine_OnAreaEnter( ClaymoreMine self, ent.AreaEnteredEvent? evt );bool OnAreaExit(ent.AreaExitedEvent evt)RTTIre.Hooks.Place( "ClaymoreMine", "OnAreaExit", (ClaymoreMine_OnAreaExit x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ClaymoreMine_OnAreaExit( ClaymoreMine self, ent.AreaExitedEvent? evt );void Explode()RTTIre.Hooks.PlaceVoid( "ClaymoreMine", "Explode;", (ClaymoreMine_Explode x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ClaymoreMine_Explode( ClaymoreMine self );bool OnRelease(MineDespawnEvent evt)RTTIre.Hooks.Place( "ClaymoreMine", "OnRelease", (ClaymoreMine_OnRelease x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ClaymoreMine_OnRelease( ClaymoreMine self, MineDespawnEvent? evt );bool OnArmed(MineArmEvent evt)RTTIre.Hooks.Place( "ClaymoreMine", "OnArmed", (ClaymoreMine_OnArmed x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ClaymoreMine_OnArmed( ClaymoreMine self, MineArmEvent? evt );bool OnScanningEvent(game.ScanningEvent evt)RTTIre.Hooks.Place( "ClaymoreMine", "OnScanningEvent", (ClaymoreMine_OnScanningEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ClaymoreMine_OnScanningEvent( ClaymoreMine self, game.ScanningEvent? evt );bool OnScanningLookedAt(game.ScanningLookAtEvent evt)overrideRTTIre.Hooks.Place( "ClaymoreMine", "OnScanningLookedAt", (ClaymoreMine_OnScanningLookedAt x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ClaymoreMine_OnScanningLookedAt( ClaymoreMine self, game.ScanningLookAtEvent? evt );void ToggleTriggerAreaIndicator(bool visible)RTTIre.Hooks.PlaceVoid( "ClaymoreMine", "ToggleTriggerAreaIndicator;Bool", (ClaymoreMine_ToggleTriggerAreaIndicator x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ClaymoreMine_ToggleTriggerAreaIndicator( ClaymoreMine self, bool visible );bool OnMinePlace(PlaceMineEvent evt)RTTIre.Hooks.Place( "ClaymoreMine", "OnMinePlace", (ClaymoreMine_OnMinePlace x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ClaymoreMine_OnMinePlace( ClaymoreMine self, PlaceMineEvent? evt );