class
OdaComponent
- 10 properties
- 20 functions
Extends game.ScriptableComponent game.Component ent.IComponent IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
owner | WeakHandle<NPCPuppet> | 0x0 | scripted |
owner_id | ent.EntityID | 0x10 | scripted |
odaAIComponent | AIHumanComponent? | 0x18 | scripted |
actionBlackBoard | WeakHandle<game.IBlackboard> | 0x28 | scripted |
statPoolSystem | game.StatPoolsSystem? | 0x38 | scripted |
statPoolType | game.data.StatPoolType | 0x48 | scripted |
healthListener | OdaEmergencyListener? | 0x50 | scripted |
statusEffect_emergency | TDBID | 0x60 | scripted |
targetTrackerComponent | AITargetTrackerComponent? | 0x68 | scripted |
weakspotDestroyed | bool | 0x78 | scripted |
Functions
void OnGameAttach()RTTIre.Hooks.PlaceVoid( "OdaComponent", "OnGameAttach;", (OdaComponent_OnGameAttach x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_OnGameAttach( OdaComponent self );void OnGameDetach()RTTIre.Hooks.PlaceVoid( "OdaComponent", "OnGameDetach;", (OdaComponent_OnGameDetach x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_OnGameDetach( OdaComponent self );bool OnDefeated(game.events.DefeatedEvent evt)RTTIre.Hooks.Place( "OdaComponent", "OnDefeated", (OdaComponent_OnDefeated x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_OnDefeated( OdaComponent self, game.events.DefeatedEvent? evt );WeakHandle<NPCPuppet> GetCombatTarget()RTTIbool OnAIEvent(AIAIEvent aiEvent)RTTIre.Hooks.Place( "OdaComponent", "OnAIEvent", (OdaComponent_OnAIEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_OnAIEvent( OdaComponent self, AIAIEvent? aiEvent );bool OnStatusEffectApplied(game.events.ApplyStatusEffectEvent evt)RTTIre.Hooks.Place( "OdaComponent", "OnStatusEffectApplied", (OdaComponent_OnStatusEffectApplied x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_OnStatusEffectApplied( OdaComponent self, game.events.ApplyStatusEffectEvent? evt );void DestroyAllWeakspots()RTTIre.Hooks.PlaceVoid( "OdaComponent", "DestroyAllWeakspots;", (OdaComponent_DestroyAllWeakspots x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_DestroyAllWeakspots( OdaComponent self );bool OnStatusEffectRemoved(game.events.RemoveStatusEffect evt)RTTIre.Hooks.Place( "OdaComponent", "OnStatusEffectRemoved", (OdaComponent_OnStatusEffectRemoved x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_OnStatusEffectRemoved( OdaComponent self, game.events.RemoveStatusEffect? evt );bool OnNonStealthQuickHackVictimEvent(NonStealthQuickHackVictimEvent evt)RTTIre.Hooks.Place( "OdaComponent", "OnNonStealthQuickHackVictimEvent", (OdaComponent_OnNonStealthQuickHackVictimEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_OnNonStealthQuickHackVictimEvent( OdaComponent self, NonStealthQuickHackVictimEvent? evt );void ApplyForceStaggerStatusEffect()RTTIre.Hooks.PlaceVoid( "OdaComponent", "ApplyForceStaggerStatusEffect;", (OdaComponent_ApplyForceStaggerStatusEffect x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_ApplyForceStaggerStatusEffect( OdaComponent self );void ApplyBlockStaggerStatusEffect()RTTIre.Hooks.PlaceVoid( "OdaComponent", "ApplyBlockStaggerStatusEffect;", (OdaComponent_ApplyBlockStaggerStatusEffect x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_ApplyBlockStaggerStatusEffect( OdaComponent self );void RemoveForceStaggerStatusEffect()RTTIre.Hooks.PlaceVoid( "OdaComponent", "RemoveForceStaggerStatusEffect;", (OdaComponent_RemoveForceStaggerStatusEffect x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_RemoveForceStaggerStatusEffect( OdaComponent self );void RemoveBlockStaggerStatusEffect()RTTIre.Hooks.PlaceVoid( "OdaComponent", "RemoveBlockStaggerStatusEffect;", (OdaComponent_RemoveBlockStaggerStatusEffect x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_RemoveBlockStaggerStatusEffect( OdaComponent self );void PlayMalfunctionFX()RTTIre.Hooks.PlaceVoid( "OdaComponent", "PlayMalfunctionFX;", (OdaComponent_PlayMalfunctionFX x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_PlayMalfunctionFX( OdaComponent self );void EvaluateAppearance()RTTIre.Hooks.PlaceVoid( "OdaComponent", "EvaluateAppearance;", (OdaComponent_EvaluateAppearance x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_EvaluateAppearance( OdaComponent self );bool OnSmartBulletDeflectedEvent(SmartBulletDeflectedEvent evt)RTTIre.Hooks.Place( "OdaComponent", "OnSmartBulletDeflectedEvent", (OdaComponent_OnSmartBulletDeflectedEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_OnSmartBulletDeflectedEvent( OdaComponent self, SmartBulletDeflectedEvent? evt );bool OnHit(game.events.HitEvent evt)RTTIre.Hooks.Place( "OdaComponent", "OnHit", (OdaComponent_OnHit x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_OnHit( OdaComponent self, game.events.HitEvent? evt );bool OnLookedAtEvent(LookedAtEvent evt)RTTIre.Hooks.Place( "OdaComponent", "OnLookedAtEvent", (OdaComponent_OnLookedAtEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_OnLookedAtEvent( OdaComponent self, LookedAtEvent? evt );void OnDeactivate()RTTIre.Hooks.PlaceVoid( "OdaComponent", "OnDeactivate;", (OdaComponent_OnDeactivate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_OnDeactivate( OdaComponent self );bool OnDamageDealt(game.events.TargetDamageEvent evt)RTTIre.Hooks.Place( "OdaComponent", "OnDamageDealt", (OdaComponent_OnDamageDealt x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct OdaComponent_OnDamageDealt( OdaComponent self, game.events.TargetDamageEvent? evt );