DayZ 1.24
|
Static Protected Member Functions | |
static int | RecipeIDFromClassname (string classname) |
Protected Attributes | |
ref array< int > | m_RcpsArray |
string | m_BaseName |
int | m_RecipeID |
int | item_mask |
int | m_BaseMask |
string | m_ItemName |
ref CacheObject | m_CoItem |
ref CacheObject | m_CoBase |
Private Member Functions | |
void | PluginRecipesManager () |
void | ~PluginRecipesManager () |
bool | IsEnableDebugCrafting () |
void | SetEnableDebugCrafting (bool enable) |
string | GetRecipeName (int recipe_id) |
int | GetValidRecipes (ItemBase item1, ItemBase item2, array< int > ids, PlayerBase player) |
int | GetValidRecipesProper (int num_of_items, ItemBase items[], array< int > ids, PlayerBase player) |
float | GetRecipeLengthInSecs (int recipe_id) |
float | GetRecipeSpecialty (int recipe_id) |
bool | GetIsInstaRecipe (int recipe_id) |
override void | OnInit () |
void | CallbackGenerateCache () |
Static Private Member Functions | |
static int | GetMaxNumberOfRecipes () |
Static Private Attributes | |
static ref map< string, ref CacheObject > | m_RecipeCache = new map<string, ref CacheObject > |
static ref map< typename, bool > | m_RecipesInitializedItem = new ref map<typename, bool> |
static ref map< string, int > | m_RecipeNamesList = new map<string, int> |
Definition at line 12 of file PluginRecipesManager.c.
|
inlineprivate |
Definition at line 61 of file PluginRecipesManager.c.
|
inlineprivate |
Definition at line 159 of file PluginRecipesManager.c.
References GenerateRecipeCache(), and Debug::Log().
|
inlineprotected |
Definition at line 419 of file PluginRecipesManager.c.
Referenced by PerformRecipeServer().
|
inlineprotected |
Definition at line 463 of file PluginRecipesManager.c.
References MAX_INGREDIENTS.
Referenced by SortIngredientsInRecipe().
|
inlineprotected |
Definition at line 596 of file PluginRecipesManager.c.
References RegisterRecipies().
Referenced by PluginRecipesManager().
|
inlineprotected |
Definition at line 315 of file PluginRecipesManager.c.
References CacheObject(), CloseFile(), FPrintln(), GetRecipeName(), OpenFile(), PrintString(), and x.
|
inlineprotected |
Definition at line 167 of file PluginRecipesManager.c.
References CFG_MAGAZINESPATH, CFG_VEHICLESPATH, CFG_WEAPONSPATH, GetGame(), MatchItems(), WalkRecipes(), and x.
Referenced by CallbackGenerateCache(), and PluginRecipesManager().
Definition at line 145 of file PluginRecipesManager.c.
Definition at line 47 of file PluginRecipesManager.c.
|
inlineprotected |
fills an array with recipe IDs which 'item_a' and 'item_b' share
Definition at line 528 of file PluginRecipesManager.c.
References CacheObject(), GetType(), and x.
Referenced by GetValidRecipesProper().
Definition at line 133 of file PluginRecipesManager.c.
Definition at line 76 of file PluginRecipesManager.c.
Referenced by GenerateHumanReadableRecipeList().
|
inlineprotected |
Definition at line 347 of file PluginRecipesManager.c.
References CacheObject().
Definition at line 139 of file PluginRecipesManager.c.
|
inlineprotected |
Definition at line 602 of file PluginRecipesManager.c.
References SortIngredientsInRecipe().
|
inlineprivate |
Definition at line 86 of file PluginRecipesManager.c.
References GetValidRecipesProper().
|
inlineprivate |
Definition at line 105 of file PluginRecipesManager.c.
References GetRecipeIntersection(), and SortIngredients().
Referenced by GetValidRecipes().
|
inlineprivate |
Definition at line 66 of file PluginRecipesManager.c.
References m_EnableDebugCrafting.
|
inlineprotected |
Definition at line 250 of file PluginRecipesManager.c.
References CacheObject(), m_ItemName, m_RecipeID, and x.
Referenced by GenerateRecipeCache().
Definition at line 151 of file PluginRecipesManager.c.
|
inlineprotected |
Definition at line 283 of file PluginRecipesManager.c.
References CheckRecipe(), Error(), RecipeSanityCheck(), and SortIngredientsInRecipe().
|
inlineprivate |
Definition at line 52 of file PluginRecipesManager.c.
References CreateAllRecipes(), GenerateRecipeCache(), and myTimer1.
|
inlineprotected |
Definition at line 425 of file PluginRecipesManager.c.
References CacheObject(), and PrintString().
|
inlinestaticprotected |
Definition at line 412 of file PluginRecipesManager.c.
Referenced by UnregisterRecipe().
|
inlineprotected |
Definition at line 359 of file PluginRecipesManager.c.
References ACCEPTABLE_DISTANCE, vector::Distance(), MAX_INGREDIENTS, and SANITY_CHECK_ACCEPTABLE_RESULT.
Referenced by PerformRecipeServer().
|
inlineprotected |
Definition at line 387 of file PluginRecipesManager.c.
References Error().
Referenced by RegisterRecipies().
|
inlineprotected |
Definition at line 470 of file PluginRecipesManager.c.
References Math::Pow(), ResolveIngredients(), and x.
Referenced by ResolveIngredients(), and SortIngredientsInRecipe().
Definition at line 71 of file PluginRecipesManager.c.
|
inlineprotected |
Definition at line 576 of file PluginRecipesManager.c.
References SortIngredientsInRecipe().
Referenced by GetValidRecipesProper().
|
inlineprotected |
sorts ingredients correctly as either first or second ingredient based on their masks
Definition at line 438 of file PluginRecipesManager.c.
References CacheObject(), ClearResults(), GetType(), Math::Log2(), and ResolveIngredients().
Referenced by GetSoundCategory(), PerformRecipeServer(), and SortIngredients().
Definition at line 399 of file PluginRecipesManager.c.
References RecipeIDFromClassname().
|
inlineprotected |
Definition at line 206 of file PluginRecipesManager.c.
References CacheObject(), MAX_NUMBER_OF_INGREDIENTS, Math::Pow(), and x.
Referenced by GenerateRecipeCache().
|
protected |
Definition at line 243 of file PluginRecipesManager.c.
|
protected |
Definition at line 244 of file PluginRecipesManager.c.
|
protected |
Definition at line 241 of file PluginRecipesManager.c.
|
private |
Definition at line 31 of file PluginRecipesManager.c.
Definition at line 40 of file PluginRecipesManager.c.
|
protected |
Definition at line 247 of file PluginRecipesManager.c.
|
protected |
Definition at line 246 of file PluginRecipesManager.c.
Definition at line 26 of file PluginRecipesManager.c.
Referenced by IsEnableDebugCrafting().
|
private |
Definition at line 33 of file PluginRecipesManager.c.
|
private |
Definition at line 34 of file PluginRecipesManager.c.
|
private |
Definition at line 35 of file PluginRecipesManager.c.
|
private |
Definition at line 28 of file PluginRecipesManager.c.
|
private |
Definition at line 29 of file PluginRecipesManager.c.
|
private |
Definition at line 27 of file PluginRecipesManager.c.
|
protected |
Definition at line 245 of file PluginRecipesManager.c.
Definition at line 240 of file PluginRecipesManager.c.
|
staticprivate |
Definition at line 14 of file PluginRecipesManager.c.
|
protected |
Definition at line 242 of file PluginRecipesManager.c.
|
private |
Definition at line 42 of file PluginRecipesManager.c.
|
staticprivate |
Definition at line 43 of file PluginRecipesManager.c.
|
staticprivate |
Definition at line 15 of file PluginRecipesManager.c.
Definition at line 39 of file PluginRecipesManager.c.
|
private |
Definition at line 23 of file PluginRecipesManager.c.
|
private |
Definition at line 24 of file PluginRecipesManager.c.
|
private |
Definition at line 37 of file PluginRecipesManager.c.
Definition at line 18 of file PluginRecipesManager.c.
Definition at line 20 of file PluginRecipesManager.c.
Definition at line 21 of file PluginRecipesManager.c.
Referenced by ClearResults(), and RecipeSanityCheck().
|
private |
Definition at line 19 of file PluginRecipesManager.c.
Definition at line 45 of file PluginRecipesManager.c.