class ent
MechanicalImpactComponent
ent.MechanicalImpactComponent
- 1 property
- 2 functions
Extends ent.IComponent IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
c_impulseMagThreshold | float | 0x0 | scripted |
Functions
bool OnMechanicalComponentImpactEvent(ent.MechanicalComponentImpactEvent evt)RTTIre.Hooks.Place( "entMechanicalImpactComponent", "OnMechanicalComponentImpactEvent", (MechanicalImpactComponent_OnMechanicalComponentImpactEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct MechanicalImpactComponent_OnMechanicalComponentImpactEvent( ent.MechanicalImpactComponent self, ent.MechanicalComponentImpactEvent? evt );void ProcessVehicleImpact(vehicle.BaseObject vehicleObject, WeakHandle<game.Object> instigator, ent.ImpactPointData impactPoint)RTTIre.Hooks.PlaceVoid( "entMechanicalImpactComponent", "ProcessVehicleImpact;VehicleObjectGameObjectscript_ref<ImpactPointData>", (MechanicalImpactComponent_ProcessVehicleImpact x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct MechanicalImpactComponent_ProcessVehicleImpact( ent.MechanicalImpactComponent self, vehicle.BaseObject? vehicleObject, WeakHandle<game.Object> instigator, ent.ImpactPointData impactPoint );