class CraftingManagerSource
Client only - manage set up crafting on client
Constructors 2
void CraftingManager(PlayerBase player, PluginRecipesManager recipesManager)References ScriptInvoker.Clear(), ActionVariantManager.GetOnUpdateInvoker(), ActionManagerClient.GetVariantManager()
Show 7 more
, ScriptInvoker.Insert(), CM_MODE_NONE, m_actionVariantManager, m_craftingMode, m_player, m_recipes, and m_recipesManagerReferenced by PlayerBase.OnSelectPlayer()
void ~CraftingManager()Constants 3
const int CM_MODE_NONE = 0const int CM_MODE_WORLD = 1const int CM_MODE_INVENTORY = 2Members 10
PlayerBase m_playerPluginRecipesManager m_recipesManagerActionVariantManager m_actionVariantManagerint m_recipeIDint m_contextualRecipeIDint m_recipeCountint m_craftingModeReferenced by CraftingManager(), IsInventoryCraft(), IsWorldCraft()
Show 3 more
, OnUpdate(), ResetInventoryCraft(), and SetInventoryCraft()ItemBase m_item1ItemBase m_item2Methods 11
int GetRecipeID()References m_recipeID
Referenced by ActionWorldCraft.GetText(), ActionWorldCraft.OnActionInfoUpdate(), ActionWorldCraft.SetupAction()
Show 1 more
, PlayerBase.GetCraftingRecipeID()bool IsInventoryCraft()Referenced by ActionWorldCraftCancel.ActionCondition()
bool IsWorldCraft()int GetRecipesCount()References m_recipeCount
Referenced by ActionWorldCraftSwitch.ActionCondition()
void SetNextRecipe()Referenced by ActionWorldCraftSwitch.Start()
References Class.Cast(), ActionVariantManager.Clear(), InventoryLocation.DumpToString()
Show 25 more
, InventoryLocation.DumpToString(), Error(), array.Get(), PlayerBase.GetActionManager(), GameInventory.GetCurrentInventoryLocation(), GameInventory.GetCurrentInventoryLocation(), EntityAI.GetInventory(), EntityAI.GetInventory(), PlayerBase.GetItemInHands(), ActionManagerBase.GetRunningAction(), PluginRecipesManager.GetValidRecipes(), ActionVariantManager.SetActionVariantCount(), CM_MODE_INVENTORY, CM_MODE_NONE, CM_MODE_WORLD, m_actionVariantManager, m_contextualRecipeID, m_craftingMode, m_item1, m_item2, m_player, m_recipeCount, m_recipeID, m_recipes, and m_recipesManagerReferences Class.Cast(), array.Get(), ActionManagerBase.GetAction()
Show 18 more
, PlayerBase.GetActionManager(), Man.GetIdentity(), PluginRecipesManager.GetIsInstaRecipe(), PlayerBase.GetItemInHands(), PluginRecipesManager.GetValidRecipes(), PluginRecipesManager.IsEnableDebugCrafting(), Object.RPCSingleParam(), ActionManagerClient.SetInventoryAction(), CM_MODE_INVENTORY, m_contextualRecipeID, m_craftingMode, m_item1, m_item2, m_player, m_recipeCount, m_recipeID, m_recipes, and m_recipesManagerReferenced by Icon.OnPerformRecipe()
void ResetInventoryCraft()Referenced by InventoryActionHandler.DeactiveAction()
bool IsEnableDebugCrafting()References m_recipes
Referenced by ActionWorldCraft.GetText(), ActionWorldCraft.OnActionInfoUpdate(), ActionWorldCraft.SetupAction()