class
CraftingMainGameController
- 25 properties
- 31 functions
Extends game.ui.MenuGameController game.ui.WidgetGameController world.ui.IWidgetGameController ink.IWidgetController IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
tooltipsManagerRef | ink.WidgetReference | 0x10 | scripted |
tabRootRef | ink.WidgetReference | 0x28 | scripted |
buttonHintsManagerRef | ink.WidgetReference | 0x40 | scripted |
craftingLogicControllerContainer | ink.WidgetReference | 0x58 | scripted |
upgradingLogicControllerContainer | ink.WidgetReference | 0x70 | scripted |
buttonHintsController | WeakHandle<ButtonHints> | 0x88 | scripted |
player | WeakHandle<PlayerPuppet> | 0x98 | scripted |
menuEventDispatcher | WeakHandle<ink.MenuEventDispatcher> | 0xA8 | scripted |
craftingSystem | CraftingSystem? | 0xB8 | scripted |
playerCraftBook | CraftBook? | 0xC8 | scripted |
VendorDataManager | VendorDataManager? | 0xD8 | scripted |
InventoryManager | InventoryDataManagerV2? | 0xE8 | scripted |
uiScriptableSystem | WeakHandle<UIScriptableSystem> | 0xF8 | scripted |
tooltipsManager | WeakHandle<game.ui.TooltipsManager> | 0x108 | scripted |
craftingDef | UI_CraftingDef? | 0x118 | scripted |
craftingBlackboard | WeakHandle<game.IBlackboard> | 0x128 | scripted |
craftingBBID | red.CallbackObject? | 0x138 | scripted |
levelUpBlackboard | WeakHandle<game.IBlackboard> | 0x148 | scripted |
playerLevelUpListener | red.CallbackObject? | 0x158 | scripted |
mode | CraftingMode | 0x168 | scripted |
isInitializeOver | bool | 0x16C | scripted |
craftingLogicController | WeakHandle<CraftingLogicController> | 0x170 | scripted |
upgradingLogicController | WeakHandle<UpgradingScreenController> | 0x180 | scripted |
tabRoot | WeakHandle<TabRadioGroup> | 0x190 | scripted |
isTabEnabled | bool | 0x1A0 | scripted |
Functions
bool OnInitialize()overrideRTTIre.Hooks.Place( "CraftingMainGameController", "OnInitialize", (CraftingMainGameController_OnInitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_OnInitialize( CraftingMainGameController self );bool OnClickArrow(ArrowClickedEvent evt)RTTIre.Hooks.Place( "CraftingMainGameController", "OnClickArrow", (CraftingMainGameController_OnClickArrow x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_OnClickArrow( CraftingMainGameController self, ArrowClickedEvent? evt );void MoveTab(Direction direction)RTTIre.Hooks.PlaceVoid( "CraftingMainGameController", "MoveTab;Direction", (CraftingMainGameController_MoveTab x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_MoveTab( CraftingMainGameController self, Direction direction );int GetNextTabIndex()RTTIre.Hooks.Place( "CraftingMainGameController", "GetNextTabIndex;", (CraftingMainGameController_GetNextTabIndex x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_GetNextTabIndex( CraftingMainGameController self );bool IsCurrentTab(int index)RTTIre.Hooks.Place( "CraftingMainGameController", "IsCurrentTab;Int32", (CraftingMainGameController_IsCurrentTab x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_IsCurrentTab( CraftingMainGameController self, int index );int GetPreviousTabIndex()RTTIre.Hooks.Place( "CraftingMainGameController", "GetPreviousTabIndex;", (CraftingMainGameController_GetPreviousTabIndex x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_GetPreviousTabIndex( CraftingMainGameController self );bool OnSetUserData(IScriptable userData)RTTIre.Hooks.Place( "CraftingMainGameController", "OnSetUserData", (CraftingMainGameController_OnSetUserData x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_OnSetUserData( CraftingMainGameController self, IScriptable? userData );float GetPlayerLevel()RTTIre.Hooks.Place( "CraftingMainGameController", "GetPlayerLevel;", (CraftingMainGameController_GetPlayerLevel x) => { return re.Hooks.CallOriginal<re.msgpack.Float>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_GetPlayerLevel( CraftingMainGameController self );bool OnHintsControllerSpawned(ink.Widget widget, IScriptable userData)RTTIre.Hooks.Place( "CraftingMainGameController", "OnHintsControllerSpawned", (CraftingMainGameController_OnHintsControllerSpawned x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_OnHintsControllerSpawned( CraftingMainGameController self, ink.Widget? widget, IScriptable? userData );WeakHandle<UIScriptableSystem> GetScriptableSystem()RTTIWeakHandle<PlayerPuppet> GetPlayer()RTTIWeakHandle<InventoryDataManagerV2> GetInventoryManager()RTTIWeakHandle<CraftingSystem> GetCraftingSystem()RTTIWeakHandle<game.ui.TooltipsManager> GetTooltipManager()RTTIWeakHandle<ButtonHints> GetButtonHintsController()RTTIvoid EnableTabs()RTTIre.Hooks.PlaceVoid( "CraftingMainGameController", "EnableTabs;", (CraftingMainGameController_EnableTabs x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_EnableTabs( CraftingMainGameController self );bool IsTabEnabled()RTTIre.Hooks.Place( "CraftingMainGameController", "IsTabEnabled;", (CraftingMainGameController_IsTabEnabled x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_IsTabEnabled( CraftingMainGameController self );void DisableTabs()RTTIre.Hooks.PlaceVoid( "CraftingMainGameController", "DisableTabs;", (CraftingMainGameController_DisableTabs x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_DisableTabs( CraftingMainGameController self );void RegisterTabButtons()RTTIre.Hooks.PlaceVoid( "CraftingMainGameController", "RegisterTabButtons;", (CraftingMainGameController_RegisterTabButtons x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_RegisterTabButtons( CraftingMainGameController self );bool OnSubMenuRelease(ink.PointerEvent evt)RTTIre.Hooks.Place( "CraftingMainGameController", "OnSubMenuRelease", (CraftingMainGameController_OnSubMenuRelease x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_OnSubMenuRelease( CraftingMainGameController self, ink.PointerEvent? evt );void SetupBB()RTTIre.Hooks.PlaceVoid( "CraftingMainGameController", "SetupBB;", (CraftingMainGameController_SetupBB x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_SetupBB( CraftingMainGameController self );void RemoveBB()RTTIre.Hooks.PlaceVoid( "CraftingMainGameController", "RemoveBB;", (CraftingMainGameController_RemoveBB x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_RemoveBB( CraftingMainGameController self );bool OnSetMenuEventDispatcher(WeakHandle<ink.MenuEventDispatcher> menuEventDispatcher)overrideRTTIre.Hooks.Place( "CraftingMainGameController", "OnSetMenuEventDispatcher", (CraftingMainGameController_OnSetMenuEventDispatcher x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_OnSetMenuEventDispatcher( CraftingMainGameController self, WeakHandle<ink.MenuEventDispatcher> menuEventDispatcher );bool OnValueChanged(WeakHandle<ink.RadioGroupController> controller, int selectedIndex)RTTIre.Hooks.Place( "CraftingMainGameController", "OnValueChanged", (CraftingMainGameController_OnValueChanged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_OnValueChanged( CraftingMainGameController self, WeakHandle<ink.RadioGroupController> controller, int selectedIndex );void SelectTab(int selectedIndex)RTTIre.Hooks.PlaceVoid( "CraftingMainGameController", "SelectTab;Int32", (CraftingMainGameController_SelectTab x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_SelectTab( CraftingMainGameController self, int selectedIndex );void RefreshUI(game.InventoryItemData? inventoryItemData)RTTIre.Hooks.PlaceVoid( "CraftingMainGameController", "RefreshUI;InventoryItemData", (CraftingMainGameController_RefreshUI x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_RefreshUI( CraftingMainGameController self, game.InventoryItemData? inventoryItemData );void OpenCraftingMode()RTTIre.Hooks.PlaceVoid( "CraftingMainGameController", "OpenCraftingMode;", (CraftingMainGameController_OpenCraftingMode x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_OpenCraftingMode( CraftingMainGameController self );void OpenUpgradeMode()RTTIre.Hooks.PlaceVoid( "CraftingMainGameController", "OpenUpgradeMode;", (CraftingMainGameController_OpenUpgradeMode x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_OpenUpgradeMode( CraftingMainGameController self );bool OnBack(IScriptable userData)overrideRTTIre.Hooks.Place( "CraftingMainGameController", "OnBack", (CraftingMainGameController_OnBack x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_OnBack( CraftingMainGameController self, IScriptable? userData );bool OnTransferToPerkSreen(ink.PointerEvent evt)RTTIre.Hooks.Place( "CraftingMainGameController", "OnTransferToPerkSreen", (CraftingMainGameController_OnTransferToPerkSreen x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_OnTransferToPerkSreen( CraftingMainGameController self, ink.PointerEvent? evt );bool OnUninitialize()overrideRTTIre.Hooks.Place( "CraftingMainGameController", "OnUninitialize", (CraftingMainGameController_OnUninitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingMainGameController_OnUninitialize( CraftingMainGameController self );