PC Stable Documentation
|
|
Client only - manage set up crafting on client. More...
Private Member Functions | |
void | CraftingManager (PlayerBase player, PluginRecipesManager recipesManager) |
void | ~CraftingManager () |
void | SetRecipeID (int recipeID) |
int | GetRecipeID () |
bool | IsInventoryCraft () |
bool | IsWorldCraft () |
int | GetRecipesCount () |
void | SetNextRecipe () |
void | OnUpdate (Object item, Object target, int component_index) |
bool | SetInventoryCraft (int recipeID, ItemBase item1, ItemBase item2) |
void | ResetInventoryCraft () |
bool | IsEnableDebugCrafting () |
int | GetRecipeID (int action_index) |
Private Attributes | |
const int | CM_MODE_NONE = 0 |
const int | CM_MODE_WORLD = 1 |
const int | CM_MODE_INVENTORY = 2 |
PlayerBase | m_player |
PluginRecipesManager | m_recipesManager |
ActionVariantManager | m_actionVariantManager |
int | m_recipeID |
int | m_contextualRecipeID |
int | m_recipeCount |
int | m_craftingMode |
ItemBase | m_item1 |
ItemBase | m_item2 |
ref array< int > | m_recipes |
Client only - manage set up crafting on client.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References m_recipeID.
|
inlineprivate |
References m_recipeCount.
|
inlineprivate |
|
inlineprivate |
References CM_MODE_INVENTORY, and m_craftingMode.
|
inlineprivate |
References CM_MODE_WORLD, and m_craftingMode.
References ActionVariantManager::Clear(), CM_MODE_INVENTORY, CM_MODE_NONE, CM_MODE_WORLD, InventoryLocation::DumpToString(), Error(), m_actionVariantManager, m_contextualRecipeID, m_craftingMode, m_item1, m_item2, m_player, m_recipeCount, m_recipeID, m_recipes, m_recipesManager, and ActionVariantManager::SetActionVariantCount().
|
inlineprivate |
References CM_MODE_NONE, m_craftingMode, and m_recipeCount.
|
inlineprivate |
|
inlineprivate |
References m_recipeID.
|
private |
Referenced by IsInventoryCraft(), OnUpdate(), and SetInventoryCraft().
|
private |
Referenced by CraftingManager(), OnUpdate(), and ResetInventoryCraft().
|
private |
Referenced by IsWorldCraft(), and OnUpdate().
|
private |
Referenced by CraftingManager(), OnUpdate(), and ~CraftingManager().
|
private |
Referenced by OnUpdate(), and SetInventoryCraft().
|
private |
Referenced by CraftingManager(), IsInventoryCraft(), IsWorldCraft(), OnUpdate(), ResetInventoryCraft(), and SetInventoryCraft().
|
private |
Referenced by OnUpdate(), and SetInventoryCraft().
|
private |
Referenced by OnUpdate(), and SetInventoryCraft().
|
private |
Referenced by CraftingManager(), OnUpdate(), and SetInventoryCraft().
|
private |
Referenced by GetRecipesCount(), OnUpdate(), ResetInventoryCraft(), and SetInventoryCraft().
|
private |
Referenced by GetRecipeID(), OnUpdate(), SetInventoryCraft(), and SetRecipeID().
Referenced by CraftingManager(), GetRecipeID(), OnUpdate(), and SetInventoryCraft().
|
private |
Referenced by CraftingManager(), OnUpdate(), and SetInventoryCraft().