class
TankTurretComponent
- 7 properties
- 3 functions
Extends game.ScriptableComponent game.Component ent.IComponent IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
attackRecord | TDBID | 0x0 | scripted |
slotComponentName1 | CName | 0x8 | scripted |
slotName1 | CName | 0x10 | scripted |
slotComponentName2 | CName | 0x18 | scripted |
slotName2 | CName | 0x20 | scripted |
slotComponent1 | ent.SlotComponent? | 0x28 | scripted |
slotComponent2 | ent.SlotComponent? | 0x38 | scripted |
Functions
void OnGameAttach()RTTIre.Hooks.PlaceVoid( "TankTurretComponent", "OnGameAttach;", (TankTurretComponent_OnGameAttach x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct TankTurretComponent_OnGameAttach( TankTurretComponent self );bool OnAction(game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer)RTTIre.Hooks.Place( "TankTurretComponent", "OnAction", (TankTurretComponent_OnAction x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct TankTurretComponent_OnAction( TankTurretComponent self, game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer );void Shoot(ent.SlotComponent slotComponent, CName slotName)RTTIre.Hooks.PlaceVoid( "TankTurretComponent", "Shoot;SlotComponentCName", (TankTurretComponent_Shoot x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct TankTurretComponent_Shoot( TankTurretComponent self, ent.SlotComponent? slotComponent, CName slotName );