class ent
PhysicalDestructionComponent
ent.PhysicalDestructionComponent
- 7 properties
- 3 functions
Extends ent.IVisualComponent ent.IPlacedComponent ent.IComponent IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
meshAppearance | CName | 0x308 | |
forceAutoHideDistance | float | 0x328 | |
destructionParams | physics.DestructionParams | 0x1E8 | |
destructionLevelData | physics.DestructionLevelData[] | 0x238 | |
isEnabled | bool | 0x8B | |
audioMetadata | CName | 0x300 | |
systemsToNotifyFlags | ushort | 0x334 |
Functions
void CreatePhysicalBodyInterface()RTTIre.Hooks.PlaceVoid( "entPhysicalDestructionComponent", "CreatePhysicalBodyInterface", (PhysicalDestructionComponent_CreatePhysicalBodyInterface x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PhysicalDestructionComponent_CreatePhysicalBodyInterface( ent.PhysicalDestructionComponent self );bool IsFractured()RTTIre.Hooks.Place( "entPhysicalDestructionComponent", "IsFractured", (PhysicalDestructionComponent_IsFractured x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhysicalDestructionComponent_IsFractured( ent.PhysicalDestructionComponent self );void TriggerDestruction(float velocity)RTTIre.Hooks.PlaceVoid( "entPhysicalDestructionComponent", "TriggerDestruction", (PhysicalDestructionComponent_TriggerDestruction x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PhysicalDestructionComponent_TriggerDestruction( ent.PhysicalDestructionComponent self, float velocity );