class
WorkspotMapperComponent
- 1 property
- 14 functions
Extends game.ScriptableComponent game.Component ent.IComponent IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
workspotsMap | WorkspotMapData?[] | 0x0 | scripted |
Functions
void OnGameAttach()RTTIre.Hooks.PlaceVoid( "WorkspotMapperComponent", "OnGameAttach;", (WorkspotMapperComponent_OnGameAttach x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WorkspotMapperComponent_OnGameAttach( WorkspotMapperComponent self );void OnGameDetach()RTTIre.Hooks.PlaceVoid( "WorkspotMapperComponent", "OnGameDetach;", (WorkspotMapperComponent_OnGameDetach x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WorkspotMapperComponent_OnGameDetach( WorkspotMapperComponent self );int GetFreeWorkspotsCountForAIAction(game.data.WorkspotActionType aiAction)RTTIre.Hooks.Place( "WorkspotMapperComponent", "GetFreeWorkspotsCountForAIAction;gamedataWorkspotActionType", (WorkspotMapperComponent_GetFreeWorkspotsCountForAIAction x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct WorkspotMapperComponent_GetFreeWorkspotsCountForAIAction( WorkspotMapperComponent self, game.data.WorkspotActionType aiAction );NodeRef GetFreeWorkspotRefForAIAction(game.data.WorkspotActionType aiAction)RTTIre.Hooks.Place( "WorkspotMapperComponent", "GetFreeWorkspotRefForAIAction;gamedataWorkspotActionType", (WorkspotMapperComponent_GetFreeWorkspotRefForAIAction x) => { return re.Hooks.CallOriginal<re.msgpack.NodeRef>(); } ); [Msgpack.Gen] public readonly partial record struct WorkspotMapperComponent_GetFreeWorkspotRefForAIAction( WorkspotMapperComponent self, game.data.WorkspotActionType aiAction );WorkspotEntryData? GetFreeWorkspotDataForAIAction(game.data.WorkspotActionType aiAction)RTTIre.Hooks.Place( "WorkspotMapperComponent", "GetFreeWorkspotDataForAIAction;gamedataWorkspotActionType", (WorkspotMapperComponent_GetFreeWorkspotDataForAIAction x) => { return re.Hooks.CallOriginal<re.msgpack.WorkspotEntryData>(); } ); [Msgpack.Gen] public readonly partial record struct WorkspotMapperComponent_GetFreeWorkspotDataForAIAction( WorkspotMapperComponent self, game.data.WorkspotActionType aiAction );int GetNumberOfWorkpotsForAIAction(game.data.WorkspotActionType aiAction)RTTIre.Hooks.Place( "WorkspotMapperComponent", "GetNumberOfWorkpotsForAIAction;gamedataWorkspotActionType", (WorkspotMapperComponent_GetNumberOfWorkpotsForAIAction x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct WorkspotMapperComponent_GetNumberOfWorkpotsForAIAction( WorkspotMapperComponent self, game.data.WorkspotActionType aiAction );int GetWorkspotMapEntryIdexForAIaction(game.data.WorkspotActionType aiAction)RTTIre.Hooks.Place( "WorkspotMapperComponent", "GetWorkspotMapEntryIdexForAIaction;gamedataWorkspotActionType", (WorkspotMapperComponent_GetWorkspotMapEntryIdexForAIaction x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct WorkspotMapperComponent_GetWorkspotMapEntryIdexForAIaction( WorkspotMapperComponent self, game.data.WorkspotActionType aiAction );int GetFreeWorkspotsCount(int mapEntryIndex)RTTIre.Hooks.Place( "WorkspotMapperComponent", "GetFreeWorkspotsCount;Int32", (WorkspotMapperComponent_GetFreeWorkspotsCount x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct WorkspotMapperComponent_GetFreeWorkspotsCount( WorkspotMapperComponent self, int mapEntryIndex );NodeRef FindFreeWorkspotRef(int mapEntryIndex)RTTIre.Hooks.Place( "WorkspotMapperComponent", "FindFreeWorkspotRef;Int32", (WorkspotMapperComponent_FindFreeWorkspotRef x) => { return re.Hooks.CallOriginal<re.msgpack.NodeRef>(); } ); [Msgpack.Gen] public readonly partial record struct WorkspotMapperComponent_FindFreeWorkspotRef( WorkspotMapperComponent self, int mapEntryIndex );WorkspotEntryData? FindFreeWorkspotData(int mapEntryIndex)RTTIre.Hooks.Place( "WorkspotMapperComponent", "FindFreeWorkspotData;Int32", (WorkspotMapperComponent_FindFreeWorkspotData x) => { return re.Hooks.CallOriginal<re.msgpack.WorkspotEntryData>(); } ); [Msgpack.Gen] public readonly partial record struct WorkspotMapperComponent_FindFreeWorkspotData( WorkspotMapperComponent self, int mapEntryIndex );void ReleaseWorkspot(NodeRef workspotRef)RTTIre.Hooks.PlaceVoid( "WorkspotMapperComponent", "ReleaseWorkspot;NodeRef", (WorkspotMapperComponent_ReleaseWorkspot x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WorkspotMapperComponent_ReleaseWorkspot( WorkspotMapperComponent self, NodeRef workspotRef );void ReserveWorkspot(NodeRef workspotRef)RTTIre.Hooks.PlaceVoid( "WorkspotMapperComponent", "ReserveWorkspot;NodeRef", (WorkspotMapperComponent_ReserveWorkspot x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct WorkspotMapperComponent_ReserveWorkspot( WorkspotMapperComponent self, NodeRef workspotRef );bool OnReserveWorkspot(OnReserveWorkspotEvent evt)RTTIre.Hooks.Place( "WorkspotMapperComponent", "OnReserveWorkspot", (WorkspotMapperComponent_OnReserveWorkspot x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WorkspotMapperComponent_OnReserveWorkspot( WorkspotMapperComponent self, OnReserveWorkspotEvent? evt );bool OnReleaseWorkspot(OnReleaseWorkspotEvent evt)RTTIre.Hooks.Place( "WorkspotMapperComponent", "OnReleaseWorkspot", (WorkspotMapperComponent_OnReleaseWorkspot x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct WorkspotMapperComponent_OnReleaseWorkspot( WorkspotMapperComponent self, OnReleaseWorkspotEvent? evt );