class
PlatformDevice
- 5 properties
- 24 functions
Extends InteractiveDevice Device game.DeviceBase game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
movingPlatform | game.MovingPlatform? | 0x3D0 | scripted |
offMeshConnection | AIOffMeshConnectionComponent? | 0x3E0 | scripted |
StartAudioEvent | CName | 0x3F0 | scripted |
StopAudioEvent | CName | 0x3F8 | scripted |
MovingVFX | CName | 0x400 | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIre.Hooks.Place( "PlatformDevice", "OnRequestComponents", (PlatformDevice_OnRequestComponents x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_OnRequestComponents( PlatformDevice self, ent.EntityRequestComponentsInterface ri );bool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIre.Hooks.Place( "PlatformDevice", "OnTakeControl", (PlatformDevice_OnTakeControl x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_OnTakeControl( PlatformDevice self, ent.EntityResolveComponentsInterface ri );void OnMaraudersMapDeviceDebug(world.MaraudersMapDevicesSink sink)overrideRTTIre.Hooks.PlaceVoid( "PlatformDevice", "OnMaraudersMapDeviceDebug;MaraudersMapDevicesSink", (PlatformDevice_OnMaraudersMapDeviceDebug x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_OnMaraudersMapDeviceDebug( PlatformDevice self, world.MaraudersMapDevicesSink? sink );PlatformController? GetController()overrideRTTIre.Hooks.Place( "PlatformDevice", "GetController;", (PlatformDevice_GetController x) => { return re.Hooks.CallOriginal<re.msgpack.PlatformController>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_GetController( PlatformDevice self );PlatformControllerPS? GetDevicePS()overrideRTTIre.Hooks.Place( "PlatformDevice", "GetDevicePS;", (PlatformDevice_GetDevicePS x) => { return re.Hooks.CallOriginal<re.msgpack.PlatformControllerPS>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_GetDevicePS( PlatformDevice self );Vector4 GetPosition()RTTIre.Hooks.Place( "PlatformDevice", "GetPosition;", (PlatformDevice_GetPosition x) => { return re.Hooks.CallOriginal<re.msgpack.Vector4>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_GetPosition( PlatformDevice self );bool IsDeviceMovableScript()overrideRTTIre.Hooks.Place( "PlatformDevice", "IsDeviceMovableScript;", (PlatformDevice_IsDeviceMovableScript x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_IsDeviceMovableScript( PlatformDevice self );void ResolveGameplayState()overrideRTTIre.Hooks.PlaceVoid( "PlatformDevice", "ResolveGameplayState;", (PlatformDevice_ResolveGameplayState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_ResolveGameplayState( PlatformDevice self );void StartPostProductionEvents()RTTIre.Hooks.PlaceVoid( "PlatformDevice", "StartPostProductionEvents;", (PlatformDevice_StartPostProductionEvents x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_StartPostProductionEvents( PlatformDevice self );void StopPostProductionEvents()RTTIre.Hooks.PlaceVoid( "PlatformDevice", "StopPostProductionEvents;", (PlatformDevice_StopPostProductionEvents x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_StopPostProductionEvents( PlatformDevice self );void MoveToMarker(NodeRef destination)RTTIre.Hooks.PlaceVoid( "PlatformDevice", "MoveToMarker;NodeRef", (PlatformDevice_MoveToMarker x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_MoveToMarker( PlatformDevice self, NodeRef destination );void Pause()RTTIre.Hooks.PlaceVoid( "PlatformDevice", "Pause;", (PlatformDevice_Pause x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_Pause( PlatformDevice self );void Resume(float time)RTTIre.Hooks.PlaceVoid( "PlatformDevice", "Resume;Float", (PlatformDevice_Resume x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_Resume( PlatformDevice self, float time );bool OnArrivedAt(game.MovingPlatformArrivedAt evt)RTTIre.Hooks.Place( "PlatformDevice", "OnArrivedAt", (PlatformDevice_OnArrivedAt x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_OnArrivedAt( PlatformDevice self, game.MovingPlatformArrivedAt? evt );bool OnMovementChange(game.MovingPlatformMovementStateChanged evt)RTTIre.Hooks.Place( "PlatformDevice", "OnMovementChange", (PlatformDevice_OnMovementChange x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_OnMovementChange( PlatformDevice self, game.MovingPlatformMovementStateChanged? evt );bool OnAreaEnter(ent.AreaEnteredEvent evt)overrideRTTIre.Hooks.Place( "PlatformDevice", "OnAreaEnter", (PlatformDevice_OnAreaEnter x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_OnAreaEnter( PlatformDevice self, ent.AreaEnteredEvent? evt );bool OnAreaExit(ent.AreaExitedEvent evt)overrideRTTIre.Hooks.Place( "PlatformDevice", "OnAreaExit", (PlatformDevice_OnAreaExit x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_OnAreaExit( PlatformDevice self, ent.AreaExitedEvent? evt );bool OnDetach()overrideRTTIre.Hooks.Place( "PlatformDevice", "OnDetach", (PlatformDevice_OnDetach x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_OnDetach( PlatformDevice self );bool OnQuestMoveToFloor(QuestMoveToFloor evt)RTTIre.Hooks.Place( "PlatformDevice", "OnQuestMoveToFloor", (PlatformDevice_OnQuestMoveToFloor x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_OnQuestMoveToFloor( PlatformDevice self, QuestMoveToFloor? evt );bool OnTeleport(game.MovingPlatformTeleportTo evt)RTTIre.Hooks.Place( "PlatformDevice", "OnTeleport", (PlatformDevice_OnTeleport x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_OnTeleport( PlatformDevice self, game.MovingPlatformTeleportTo? evt );bool OnMoveNext(QuestMoveToNextFloor evt)RTTIre.Hooks.Place( "PlatformDevice", "OnMoveNext", (PlatformDevice_OnMoveNext x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_OnMoveNext( PlatformDevice self, QuestMoveToNextFloor? evt );bool OnMovePrev(QuestMoveToPrevFloor evt)RTTIre.Hooks.Place( "PlatformDevice", "OnMovePrev", (PlatformDevice_OnMovePrev x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_OnMovePrev( PlatformDevice self, QuestMoveToPrevFloor? evt );bool OnQuestPause(QuestPause evt)RTTIre.Hooks.Place( "PlatformDevice", "OnQuestPause", (PlatformDevice_OnQuestPause x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_OnQuestPause( PlatformDevice self, QuestPause? evt );bool OnQuestResume(QuestResume evt)RTTIre.Hooks.Place( "PlatformDevice", "OnQuestResume", (PlatformDevice_OnQuestResume x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlatformDevice_OnQuestResume( PlatformDevice self, QuestResume? evt );