class
CraftBook
- 3 properties
- 13 functions
Extends IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
knownRecipes | ItemRecipe[] | 0x0 | scripted |
newRecipes | TDBID[] | 0x10 | scripted |
owner | WeakHandle<game.Object> | 0x20 | scripted |
Functions
void InitializeCraftBookOwner(WeakHandle<game.Object> owner)RTTIre.Hooks.PlaceVoid( "CraftBook", "InitializeCraftBookOwner;GameObject", (CraftBook_InitializeCraftBookOwner x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftBook_InitializeCraftBookOwner( CraftBook self, WeakHandle<game.Object> owner );void InitializeCraftBook(WeakHandle<game.Object> owner, WeakHandle<game.data.Craftable_Record> recipes)RTTIre.Hooks.PlaceVoid( "CraftBook", "InitializeCraftBook;GameObjectCraftable_Record", (CraftBook_InitializeCraftBook x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftBook_InitializeCraftBook( CraftBook self, WeakHandle<game.Object> owner, WeakHandle<game.data.Craftable_Record> recipes );WeakHandle<game.data.Item_Record>[] GetCraftableItems()RTTIItemRecipe GetRecipeData(TDBID Recipe)RTTIre.Hooks.Place( "CraftBook", "GetRecipeData;TweakDBID", (CraftBook_GetRecipeData x) => { return re.Hooks.CallOriginal<re.msgpack.ItemRecipe>(); } ); [Msgpack.Gen] public readonly partial record struct CraftBook_GetRecipeData( CraftBook self, TDBID Recipe );int GetRecipeIndex(TDBID recipe)RTTIre.Hooks.Place( "CraftBook", "GetRecipeIndex;TweakDBID", (CraftBook_GetRecipeIndex x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct CraftBook_GetRecipeIndex( CraftBook self, TDBID recipe );bool KnowsRecipe(TDBID recipe)RTTIre.Hooks.Place( "CraftBook", "KnowsRecipe;TweakDBID", (CraftBook_KnowsRecipe x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftBook_KnowsRecipe( CraftBook self, TDBID recipe );void HideRecipesForOwnedItems()RTTIre.Hooks.PlaceVoid( "CraftBook", "HideRecipesForOwnedItems;", (CraftBook_HideRecipesForOwnedItems x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftBook_HideRecipesForOwnedItems( CraftBook self );void AddRecipe(TDBID targetItem, WeakHandle<game.data.Item_Record>[]? hideOnItemsAdded, int? amount)RTTIre.Hooks.PlaceVoid( "CraftBook", "AddRecipe;TweakDBIDarray<Item_Record>Int32", (CraftBook_AddRecipe x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftBook_AddRecipe( CraftBook self, TDBID targetItem, WeakHandle<game.data.Item_Record>[]? hideOnItemsAdded, int? amount );void SetRecipeInspected(TDBID itemID)RTTIre.Hooks.PlaceVoid( "CraftBook", "SetRecipeInspected;TweakDBID", (CraftBook_SetRecipeInspected x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftBook_SetRecipeInspected( CraftBook self, TDBID itemID );bool IsRecipeNew(TDBID itemID)RTTIre.Hooks.Place( "CraftBook", "IsRecipeNew;TweakDBID", (CraftBook_IsRecipeNew x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftBook_IsRecipeNew( CraftBook self, TDBID itemID );bool HideRecipe(TDBID recipe, bool shouldHide)RTTIre.Hooks.Place( "CraftBook", "HideRecipe;TweakDBIDBool", (CraftBook_HideRecipe x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftBook_HideRecipe( CraftBook self, TDBID recipe, bool shouldHide );WeakHandle<game.Object> GetOwner()RTTIvoid ResetRecipeCraftedAmount()RTTIre.Hooks.PlaceVoid( "CraftBook", "ResetRecipeCraftedAmount;", (CraftBook_ResetRecipeCraftedAmount x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftBook_ResetRecipeCraftedAmount( CraftBook self );