DayZ 1.24
|
Client only - manage set up crafting on client. More...
Private Member Functions | |
void | CraftingManager (PlayerBase player, PluginRecipesManager recipesManager) |
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.
Definition at line 2 of file CraftingManager.c.
|
inlineprivate |
Definition at line 20 of file CraftingManager.c.
References ScriptInvoker::Clear(), CM_MODE_NONE, ActionVariantManager::GetOnUpdateInvoker(), ActionManagerClient::GetVariantManager(), ScriptInvoker::Insert(), m_actionVariantManager, m_craftingMode, m_player, m_recipes, m_recipesManager, and OnUpdate().
|
inlineprivate |
Definition at line 175 of file CraftingManager.c.
References m_recipes.
|
inlineprivate |
|
inlineprivate |
Definition at line 170 of file CraftingManager.c.
|
inlineprivate |
Definition at line 41 of file CraftingManager.c.
References CM_MODE_INVENTORY, and m_craftingMode.
|
inlineprivate |
Definition at line 46 of file CraftingManager.c.
References CM_MODE_WORLD, and m_craftingMode.
Definition at line 61 of file CraftingManager.c.
References ActionVariantManager::Clear(), CM_MODE_INVENTORY, CM_MODE_NONE, CM_MODE_WORLD, 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 |
Definition at line 164 of file CraftingManager.c.
References CM_MODE_NONE, m_craftingMode, and m_recipeCount.
|
inlineprivate |
Definition at line 128 of file CraftingManager.c.
References CM_MODE_INVENTORY, m_contextualRecipeID, m_craftingMode, m_item1, m_item2, m_player, m_recipeCount, m_recipeID, m_recipes, and m_recipesManager.
|
inlineprivate |
Definition at line 56 of file CraftingManager.c.
Definition at line 31 of file CraftingManager.c.
References m_recipeID.
Definition at line 6 of file CraftingManager.c.
Referenced by IsInventoryCraft(), OnUpdate(), and SetInventoryCraft().
Definition at line 4 of file CraftingManager.c.
Referenced by CraftingManager(), OnUpdate(), and ResetInventoryCraft().
Definition at line 5 of file CraftingManager.c.
Referenced by IsWorldCraft(), and OnUpdate().
|
private |
Definition at line 10 of file CraftingManager.c.
Referenced by CraftingManager(), and OnUpdate().
|
private |
Definition at line 12 of file CraftingManager.c.
Referenced by OnUpdate(), and SetInventoryCraft().
|
private |
Definition at line 14 of file CraftingManager.c.
Referenced by CraftingManager(), IsInventoryCraft(), IsWorldCraft(), OnUpdate(), ResetInventoryCraft(), and SetInventoryCraft().
|
private |
Definition at line 15 of file CraftingManager.c.
Referenced by OnUpdate(), and SetInventoryCraft().
|
private |
Definition at line 16 of file CraftingManager.c.
Referenced by OnUpdate(), and SetInventoryCraft().
|
private |
Definition at line 8 of file CraftingManager.c.
Referenced by CraftingManager(), OnUpdate(), and SetInventoryCraft().
|
private |
Definition at line 13 of file CraftingManager.c.
Referenced by GetRecipesCount(), OnUpdate(), ResetInventoryCraft(), and SetInventoryCraft().
|
private |
Definition at line 11 of file CraftingManager.c.
Referenced by GetRecipeID(), OnUpdate(), SetInventoryCraft(), and SetRecipeID().
Definition at line 18 of file CraftingManager.c.
Referenced by CraftingManager(), GetRecipeID(), OnUpdate(), and SetInventoryCraft().
|
private |
Definition at line 9 of file CraftingManager.c.
Referenced by CraftingManager(), OnUpdate(), and SetInventoryCraft().