class
CraftingSystem
- 5 properties
- 85 functions
Extends game.ScriptableSystem game.IScriptableSystem IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
lastActionStatus | bool | 0x0 | scripted |
playerCraftBook | CraftBook? | 0x8 | scripted |
callback | CraftingSystemInventoryCallback? | 0x18 | scripted |
inventoryListener | game.InventoryScriptListener? | 0x28 | scripted |
itemIconGender | game.ItemIconGender | 0x38 | scripted |
Functions
void OnAttach()overrideRTTIre.Hooks.PlaceVoid( "CraftingSystem", "OnAttach;", (CraftingSystem_OnAttach x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_OnAttach( CraftingSystem self );void OnPlayerAttach(game.PlayerAttachRequest request)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "OnPlayerAttach;PlayerAttachRequest", (CraftingSystem_OnPlayerAttach x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_OnPlayerAttach( CraftingSystem self, game.PlayerAttachRequest? request );void OnPlayerDetach(game.PlayerDetachRequest request)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "OnPlayerDetach;PlayerDetachRequest", (CraftingSystem_OnPlayerDetach x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_OnPlayerDetach( CraftingSystem self, game.PlayerDetachRequest? request );void OnRestored(int saveVersion, int gameVersion)overrideRTTIre.Hooks.PlaceVoid( "CraftingSystem", "OnRestored;Int32Int32", (CraftingSystem_OnRestored x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_OnRestored( CraftingSystem self, int saveVersion, int gameVersion );CraftBook? GetPlayerCraftBook()RTTIre.Hooks.Place( "CraftingSystem", "GetPlayerCraftBook;", (CraftingSystem_GetPlayerCraftBook x) => { return re.Hooks.CallOriginal<re.msgpack.CraftBook>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_GetPlayerCraftBook( CraftingSystem self );WeakHandle<game.data.Item_Record>[] GetPlayerCraftableItems()RTTIIngredientData[] GetItemFinalUpgradeCost(WeakHandle<game.ItemData> itemData)RTTIIngredientData[] GetItemBaseUpgradeCost(game.data.ItemType itemType, game.data.Quality quality)RTTIIngredientData[] GetItemCraftingCost(WeakHandle<game.ItemData> itemData)RTTIIngredientData[] GetItemCraftingCost(WeakHandle<game.data.Item_Record> itemRecord)RTTIIngredientData[] GetItemCraftingCost(WeakHandle<game.data.Item_Record> record, WeakHandle<game.data.RecipeElement_Record>[] craftingData)RTTIbool CanItemBeDisassembled(WeakHandle<game.Object> owner, game.ItemID itemID)RTTIre.Hooks.Place( "CraftingSystem", "CanItemBeDisassembled;GameObjectItemID", (CraftingSystem_CanItemBeDisassembled x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CanItemBeDisassembled( CraftingSystem self, WeakHandle<game.Object> owner, game.ItemID itemID );bool CanItemBeDisassembled(WeakHandle<game.ItemData> itemData)RTTIre.Hooks.Place( "CraftingSystem", "CanItemBeDisassembled;gameItemData", (CraftingSystem_CanItemBeDisassembled2 x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CanItemBeDisassembled2( CraftingSystem self, WeakHandle<game.ItemData> itemData );bool CanItemBeCrafted(WeakHandle<game.ItemData> itemData)RTTIre.Hooks.Place( "CraftingSystem", "CanItemBeCrafted;gameItemData", (CraftingSystem_CanItemBeCrafted x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CanItemBeCrafted( CraftingSystem self, WeakHandle<game.ItemData> itemData );bool CanItemBeCrafted(WeakHandle<game.data.Item_Record> itemRecord)RTTIre.Hooks.Place( "CraftingSystem", "CanItemBeCrafted;Item_Record", (CraftingSystem_CanItemBeCrafted2 x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CanItemBeCrafted2( CraftingSystem self, WeakHandle<game.data.Item_Record> itemRecord );bool EnoughIngredientsForCrafting(WeakHandle<game.ItemData> itemData)RTTIre.Hooks.Place( "CraftingSystem", "EnoughIngredientsForCrafting;gameItemData", (CraftingSystem_EnoughIngredientsForCrafting x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_EnoughIngredientsForCrafting( CraftingSystem self, WeakHandle<game.ItemData> itemData );int GetMaxCraftingAmount(WeakHandle<game.ItemData> itemData)RTTIre.Hooks.Place( "CraftingSystem", "GetMaxCraftingAmount;gameItemData", (CraftingSystem_GetMaxCraftingAmount x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_GetMaxCraftingAmount( CraftingSystem self, WeakHandle<game.ItemData> itemData );bool EnoughIngredientsForUpgrading(WeakHandle<game.ItemData> itemData)RTTIre.Hooks.Place( "CraftingSystem", "EnoughIngredientsForUpgrading;gameItemData", (CraftingSystem_EnoughIngredientsForUpgrading x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_EnoughIngredientsForUpgrading( CraftingSystem self, WeakHandle<game.ItemData> itemData );bool CanItemBeUpgraded(WeakHandle<game.ItemData> itemData)RTTIre.Hooks.Place( "CraftingSystem", "CanItemBeUpgraded;gameItemData", (CraftingSystem_CanItemBeUpgraded x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CanItemBeUpgraded( CraftingSystem self, WeakHandle<game.ItemData> itemData );bool HasIngredients(IngredientData[] required)RTTIre.Hooks.Place( "CraftingSystem", "HasIngredients;script_ref<array<IngredientData>>", (CraftingSystem_HasIngredients x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_HasIngredients( CraftingSystem self, IngredientData[] required );bool CanCraftGivenQuality(WeakHandle<game.ItemData> itemData, out game.data.Quality quality)RTTIre.Hooks.Place( "CraftingSystem", "CanCraftGivenQuality;gameItemDatagamedataQuality", (CraftingSystem_CanCraftGivenQuality x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CanCraftGivenQuality( CraftingSystem self, WeakHandle<game.ItemData> itemData, game.data.Quality quality );bool CanCraftGivenQuality(WeakHandle<game.data.Item_Record> itemRecord, out game.data.Quality quality)RTTIre.Hooks.Place( "CraftingSystem", "CanCraftGivenQuality;Item_RecordgamedataQuality", (CraftingSystem_CanCraftGivenQuality2 x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CanCraftGivenQuality2( CraftingSystem self, WeakHandle<game.data.Item_Record> itemRecord, game.data.Quality quality );bool IsRecipeKnown(TDBID recipe, CraftBook playerCraftBook)RTTIre.Hooks.Place( "CraftingSystem", "IsRecipeKnown;TweakDBIDCraftBook", (CraftingSystem_IsRecipeKnown x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_IsRecipeKnown( CraftingSystem self, TDBID recipe, CraftBook? playerCraftBook );void OnCraftItemRequest(CraftItemRequest request)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "OnCraftItemRequest;CraftItemRequest", (CraftingSystem_OnCraftItemRequest x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_OnCraftItemRequest( CraftingSystem self, CraftItemRequest? request );void OnDisassembleItemRequest(DisassembleItemRequest request)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "OnDisassembleItemRequest;DisassembleItemRequest", (CraftingSystem_OnDisassembleItemRequest x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_OnDisassembleItemRequest( CraftingSystem self, DisassembleItemRequest? request );void OnUpgradeItemRequest(UpgradeItemRequest request)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "OnUpgradeItemRequest;UpgradeItemRequest", (CraftingSystem_OnUpgradeItemRequest x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_OnUpgradeItemRequest( CraftingSystem self, UpgradeItemRequest? request );void OnAddRecipeRequest(AddRecipeRequest request)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "OnAddRecipeRequest;AddRecipeRequest", (CraftingSystem_OnAddRecipeRequest x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_OnAddRecipeRequest( CraftingSystem self, AddRecipeRequest? request );void OnHideRecipeRequest(HideRecipeRequest request)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "OnHideRecipeRequest;HideRecipeRequest", (CraftingSystem_OnHideRecipeRequest x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_OnHideRecipeRequest( CraftingSystem self, HideRecipeRequest? request );void OnShowRecipeRequest(ShowRecipeRequest request)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "OnShowRecipeRequest;ShowRecipeRequest", (CraftingSystem_OnShowRecipeRequest x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_OnShowRecipeRequest( CraftingSystem self, ShowRecipeRequest? request );bool GetLastActionStatus()RTTIre.Hooks.Place( "CraftingSystem", "GetLastActionStatus;", (CraftingSystem_GetLastActionStatus x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_GetLastActionStatus( CraftingSystem self );WeakHandle<game.ItemData> CraftItem(WeakHandle<game.Object> target, game.data.Item_Record itemRecord, int amount, int? ammoBulletAmount)RTTIvoid MarkItemAsCrafted(WeakHandle<game.ItemData> itemData)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "MarkItemAsCrafted;gameItemData", (CraftingSystem_MarkItemAsCrafted x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_MarkItemAsCrafted( CraftingSystem self, WeakHandle<game.ItemData> itemData );void ClearNonIconicSlots(WeakHandle<game.ItemData> itemData)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "ClearNonIconicSlots;gameItemData", (CraftingSystem_ClearNonIconicSlots x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_ClearNonIconicSlots( CraftingSystem self, WeakHandle<game.ItemData> itemData );void ClearNonIconicSlotsFromWeaponsAndClothes(WeakHandle<game.ItemData> itemData)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "ClearNonIconicSlotsFromWeaponsAndClothes;gameItemData", (CraftingSystem_ClearNonIconicSlotsFromWeaponsAndClothes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_ClearNonIconicSlotsFromWeaponsAndClothes( CraftingSystem self, WeakHandle<game.ItemData> itemData );void CompensateForDeprecatedWeaponMods(WeakHandle<game.ItemData> itemData)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "CompensateForDeprecatedWeaponMods;gameItemData", (CraftingSystem_CompensateForDeprecatedWeaponMods x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CompensateForDeprecatedWeaponMods( CraftingSystem self, WeakHandle<game.ItemData> itemData );void ClearNonIconicSlotsWithoutDummyMods(WeakHandle<game.ItemData> itemData)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "ClearNonIconicSlotsWithoutDummyMods;gameItemData", (CraftingSystem_ClearNonIconicSlotsWithoutDummyMods x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_ClearNonIconicSlotsWithoutDummyMods( CraftingSystem self, WeakHandle<game.ItemData> itemData );void SetItemLevel(WeakHandle<game.ItemData> itemData)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "SetItemLevel;gameItemData", (CraftingSystem_SetItemLevel x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_SetItemLevel( CraftingSystem self, WeakHandle<game.ItemData> itemData );void SetItemQualityBasedOnPlayerSkill(WeakHandle<game.ItemData> itemData)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "SetItemQualityBasedOnPlayerSkill;gameItemData", (CraftingSystem_SetItemQualityBasedOnPlayerSkill x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_SetItemQualityBasedOnPlayerSkill( CraftingSystem self, WeakHandle<game.ItemData> itemData );float CalculateCraftingLevelBoost()RTTIre.Hooks.Place( "CraftingSystem", "CalculateCraftingLevelBoost;", (CraftingSystem_CalculateCraftingLevelBoost x) => { return re.Hooks.CallOriginal<re.msgpack.Float>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CalculateCraftingLevelBoost( CraftingSystem self );void ProcessProgramCrafting(TDBID itemTDBID)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "ProcessProgramCrafting;TweakDBID", (CraftingSystem_ProcessProgramCrafting x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_ProcessProgramCrafting( CraftingSystem self, TDBID itemTDBID );IngredientData[] GetDisassemblyResultItems(WeakHandle<game.Object> target, game.ItemID itemID, int amount, ItemAttachments[] restoredAttachments, bool? calledFromUI)RTTIvoid AddIngredientToResult(IngredientData ingredient, int amountMultiplier, out IngredientData[] outputResult)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "AddIngredientToResult;IngredientDataInt32array<IngredientData>", (CraftingSystem_AddIngredientToResult x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_AddIngredientToResult( CraftingSystem self, IngredientData ingredient, int amountMultiplier, IngredientData[] outputResult );void DisassembleItem(WeakHandle<game.Object> target, game.ItemID itemID, int amount)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "DisassembleItem;GameObjectItemIDInt32", (CraftingSystem_DisassembleItem x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_DisassembleItem( CraftingSystem self, WeakHandle<game.Object> target, game.ItemID itemID, int amount );void UpgradeItem(WeakHandle<game.Object> owner, game.ItemID itemID)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "UpgradeItem;GameObjectItemID", (CraftingSystem_UpgradeItem x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_UpgradeItem( CraftingSystem self, WeakHandle<game.Object> owner, game.ItemID itemID );void ProcessUpgradingPerksData(WeakHandle<game.Object> target, game.data.Item_Record itemRecord)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "ProcessUpgradingPerksData;GameObjectItem_Record", (CraftingSystem_ProcessUpgradingPerksData x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_ProcessUpgradingPerksData( CraftingSystem self, WeakHandle<game.Object> target, game.data.Item_Record? itemRecord );void CreateIngredientDataOfQuality(int amount, game.data.Quality matQuality, out IngredientData[] disassembleResult)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "CreateIngredientDataOfQuality;Int32gamedataQualityarray<IngredientData>", (CraftingSystem_CreateIngredientDataOfQuality x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CreateIngredientDataOfQuality( CraftingSystem self, int amount, game.data.Quality matQuality, IngredientData[] disassembleResult );int GetSuccessNum(float probability, int eventsNum)RTTIre.Hooks.Place( "CraftingSystem", "GetSuccessNum;FloatInt32", (CraftingSystem_GetSuccessNum x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_GetSuccessNum( CraftingSystem self, float probability, int eventsNum );void ProcessDisassemblingPerks(int amount, out IngredientData[] disassembleResult, WeakHandle<game.ItemData> itemData, ItemAttachments[] restoredAttachments, bool? calledFromUI)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "ProcessDisassemblingPerks;Int32array<IngredientData>gameItemDatascript_ref<array<ItemAttachments>>Bool", (CraftingSystem_ProcessDisassemblingPerks x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_ProcessDisassemblingPerks( CraftingSystem self, int amount, IngredientData[] disassembleResult, WeakHandle<game.ItemData> itemData, ItemAttachments[] restoredAttachments, bool? calledFromUI );void ProcessCraftSkill(float xpAmount)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "ProcessCraftSkill;Float", (CraftingSystem_ProcessCraftSkill x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_ProcessCraftSkill( CraftingSystem self, float xpAmount );RecipeData? GetRecipeData(game.data.Item_Record itemRecord)RTTIre.Hooks.Place( "CraftingSystem", "GetRecipeData;Item_Record", (CraftingSystem_GetRecipeData x) => { return re.Hooks.CallOriginal<re.msgpack.RecipeData>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_GetRecipeData( CraftingSystem self, game.data.Item_Record? itemRecord );RecipeData? GetUpgradeRecipeData(game.ItemID itemID)RTTIre.Hooks.Place( "CraftingSystem", "GetUpgradeRecipeData;ItemID", (CraftingSystem_GetUpgradeRecipeData x) => { return re.Hooks.CallOriginal<re.msgpack.RecipeData>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_GetUpgradeRecipeData( CraftingSystem self, game.ItemID itemID );game.data.Quality GetIngredientQuality(IngredientData data)RTTIre.Hooks.Place( "CraftingSystem", "GetIngredientQuality;script_ref<IngredientData>", (CraftingSystem_GetIngredientQuality x) => { return re.Hooks.CallOriginal<re.msgpack.game.data.Quality>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_GetIngredientQuality( CraftingSystem self, IngredientData data );IngredientData CreateIngredientData(game.data.RecipeElement_Record ingredientData)RTTIre.Hooks.Place( "CraftingSystem", "CreateIngredientData;RecipeElement_Record", (CraftingSystem_CreateIngredientData x) => { return re.Hooks.CallOriginal<re.msgpack.IngredientData>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CreateIngredientData( CraftingSystem self, game.data.RecipeElement_Record? ingredientData );IngredientData CreateIngredientData(game.data.Item_Record item, int amount)RTTIre.Hooks.Place( "CraftingSystem", "CreateIngredientData;Item_RecordInt32", (CraftingSystem_CreateIngredientData2 x) => { return re.Hooks.CallOriginal<re.msgpack.IngredientData>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CreateIngredientData2( CraftingSystem self, game.data.Item_Record? item, int amount );void UpdateBlackboard(CraftingCommands lastCommand, game.ItemID? lastItem, IngredientData[]? lastIngredients)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "UpdateBlackboard;CraftingCommandsItemIDarray<IngredientData>", (CraftingSystem_UpdateBlackboard x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_UpdateBlackboard( CraftingSystem self, CraftingCommands lastCommand, game.ItemID? lastItem, IngredientData[]? lastIngredients );void SendItemCraftedDataTrackingRequest(game.ItemID targetItem, int amount)RTTIre.Hooks.PlaceVoid( "CraftingSystem", "SendItemCraftedDataTrackingRequest;ItemIDInt32", (CraftingSystem_SendItemCraftedDataTrackingRequest x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_SendItemCraftedDataTrackingRequest( CraftingSystem self, game.ItemID targetItem, int amount );void ProcessIconicRevampRestoration()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "ProcessIconicRevampRestoration;", (CraftingSystem_ProcessIconicRevampRestoration x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_ProcessIconicRevampRestoration( CraftingSystem self );void ProcessWeaponsAndClothingModsPurge()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "ProcessWeaponsAndClothingModsPurge;", (CraftingSystem_ProcessWeaponsAndClothingModsPurge x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_ProcessWeaponsAndClothingModsPurge( CraftingSystem self );void ProcessWeaponsModsCompensate()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "ProcessWeaponsModsCompensate;", (CraftingSystem_ProcessWeaponsModsCompensate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_ProcessWeaponsModsCompensate( CraftingSystem self );void ProcessGritModsPurge()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "ProcessGritModsPurge;", (CraftingSystem_ProcessGritModsPurge x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_ProcessGritModsPurge( CraftingSystem self );void ProcessAmazonGritAttachmentsPurge()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "ProcessAmazonGritAttachmentsPurge;", (CraftingSystem_ProcessAmazonGritAttachmentsPurge x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_ProcessAmazonGritAttachmentsPurge( CraftingSystem self );void VendorIconicKnivesSecured()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "VendorIconicKnivesSecured;", (CraftingSystem_VendorIconicKnivesSecured x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_VendorIconicKnivesSecured( CraftingSystem self );void ProcessCraftedItemsPowerBoost()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "ProcessCraftedItemsPowerBoost;", (CraftingSystem_ProcessCraftedItemsPowerBoost x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_ProcessCraftedItemsPowerBoost( CraftingSystem self );void AddAmmoRecipes()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "AddAmmoRecipes;", (CraftingSystem_AddAmmoRecipes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_AddAmmoRecipes( CraftingSystem self );void HideDLCRecipes()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "HideDLCRecipes;", (CraftingSystem_HideDLCRecipes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_HideDLCRecipes( CraftingSystem self );void AddDLCBaseRecipes()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "AddDLCBaseRecipes;", (CraftingSystem_AddDLCBaseRecipes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_AddDLCBaseRecipes( CraftingSystem self );void InstallModsToRedesignedItems()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "InstallModsToRedesignedItems;", (CraftingSystem_InstallModsToRedesignedItems x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_InstallModsToRedesignedItems( CraftingSystem self );InstallItemPart? CreateInstallPartRequest_Mod(WeakHandle<PlayerPuppet> player, WeakHandle<game.ItemData> itemData, game.ItemID part)RTTIre.Hooks.Place( "CraftingSystem", "CreateInstallPartRequest_Mod;PlayerPuppetgameItemDataItemID", (CraftingSystem_CreateInstallPartRequest_Mod x) => { return re.Hooks.CallOriginal<re.msgpack.InstallItemPart>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CreateInstallPartRequest_Mod( CraftingSystem self, WeakHandle<PlayerPuppet> player, WeakHandle<game.ItemData> itemData, game.ItemID part );InstallItemPart? CreateInstallPartRequest_Attachment(WeakHandle<PlayerPuppet> player, WeakHandle<game.ItemData> itemData, game.ItemID part)RTTIre.Hooks.Place( "CraftingSystem", "CreateInstallPartRequest_Attachment;PlayerPuppetgameItemDataItemID", (CraftingSystem_CreateInstallPartRequest_Attachment x) => { return re.Hooks.CallOriginal<re.msgpack.InstallItemPart>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CreateInstallPartRequest_Attachment( CraftingSystem self, WeakHandle<PlayerPuppet> player, WeakHandle<game.ItemData> itemData, game.ItemID part );void HideButchersKnifeRecipes()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "HideButchersKnifeRecipes;", (CraftingSystem_HideButchersKnifeRecipes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_HideButchersKnifeRecipes( CraftingSystem self );void CompensateForOwnedButchersKnifeRecipes()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "CompensateForOwnedButchersKnifeRecipes;", (CraftingSystem_CompensateForOwnedButchersKnifeRecipes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CompensateForOwnedButchersKnifeRecipes( CraftingSystem self );void HideMilitaryKatanaRecipes()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "HideMilitaryKatanaRecipes;", (CraftingSystem_HideMilitaryKatanaRecipes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_HideMilitaryKatanaRecipes( CraftingSystem self );void CompensateForOwnedMilitaryKatanaRecipes()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "CompensateForOwnedMilitaryKatanaRecipes;", (CraftingSystem_CompensateForOwnedMilitaryKatanaRecipes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CompensateForOwnedMilitaryKatanaRecipes( CraftingSystem self );void HidePipeWrenchRecipes()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "HidePipeWrenchRecipes;", (CraftingSystem_HidePipeWrenchRecipes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_HidePipeWrenchRecipes( CraftingSystem self );void CompensateForOwnedPipeWrenchRecipes()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "CompensateForOwnedPipeWrenchRecipes;", (CraftingSystem_CompensateForOwnedPipeWrenchRecipes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CompensateForOwnedPipeWrenchRecipes( CraftingSystem self );void HideIconicWeaponsRecipes()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "HideIconicWeaponsRecipes;", (CraftingSystem_HideIconicWeaponsRecipes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_HideIconicWeaponsRecipes( CraftingSystem self );void HideDeprecatedCraftingRecipes()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "HideDeprecatedCraftingRecipes;", (CraftingSystem_HideDeprecatedCraftingRecipes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_HideDeprecatedCraftingRecipes( CraftingSystem self );void HideDeprecatedCraftbookRecipes()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "HideDeprecatedCraftbookRecipes;", (CraftingSystem_HideDeprecatedCraftbookRecipes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_HideDeprecatedCraftbookRecipes( CraftingSystem self );void AddCraftbookRecipes()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "AddCraftbookRecipes;", (CraftingSystem_AddCraftbookRecipes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_AddCraftbookRecipes( CraftingSystem self );void CompensateForOwnedCraftableIconics()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "CompensateForOwnedCraftableIconics;", (CraftingSystem_CompensateForOwnedCraftableIconics x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CompensateForOwnedCraftableIconics( CraftingSystem self );void CompensateMissingBuzzsawPsalmRecipes()RTTIre.Hooks.PlaceVoid( "CraftingSystem", "CompensateMissingBuzzsawPsalmRecipes;", (CraftingSystem_CompensateMissingBuzzsawPsalmRecipes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_CompensateMissingBuzzsawPsalmRecipes( CraftingSystem self );static int GetAmmoBulletAmount(TDBID ammoId)staticRTTI globalre.Hooks.Place( "CraftingSystem", "CraftingSystem::GetAmmoBulletAmount;TweakDBID", (CraftingSystem_GetAmmoBulletAmount x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_GetAmmoBulletAmount( TDBID ammoId );static void SetItemLevel(WeakHandle<game.Object> target, WeakHandle<game.ItemData> itemData)staticRTTI globalre.Hooks.PlaceVoid( "CraftingSystem", "CraftingSystem::SetItemLevel;GameObjectgameItemData", (CraftingSystem_SetItemLevel2 x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_SetItemLevel2( WeakHandle<game.Object> target, WeakHandle<game.ItemData> itemData );static CraftingSystem? GetInstance(ScriptGameInstance gameInstance)staticRTTI globalre.Hooks.Place( "CraftingSystem", "CraftingSystem::GetInstance;GameInstance", (CraftingSystem_GetInstance x) => { return re.Hooks.CallOriginal<re.msgpack.CraftingSystem>(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_GetInstance( ScriptGameInstance gameInstance );static void MarkItemAsCrafted(WeakHandle<game.Object> target, WeakHandle<game.ItemData> itemData)staticRTTI globalre.Hooks.PlaceVoid( "CraftingSystem", "CraftingSystem::MarkItemAsCrafted;GameObjectgameItemData", (CraftingSystem_MarkItemAsCrafted2 x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CraftingSystem_MarkItemAsCrafted2( WeakHandle<game.Object> target, WeakHandle<game.ItemData> itemData );