Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
cacheobject.c File Reference

Go to the source code of this file.

Data Structures

class  RecipeCacheData
 

Functions

void CacheObject ()
 
bool AddRecipe (int recipe_id, int mask)
 
void UpdateMask (int recipe_id, int mask)
 
int GetNumberOfRecipes ()
 
array< intGetRecipes ()
 
bool IsContainRecipe (int recipe_id)
 
int GetMaskByRecipeID (int recipe_id)
 
int GetBitCountByRecipeID (int recipe_id)
 
void DebugPrint ()
 

Variables

class RecipeCacheData int
 
class RecipeCacheData m_Recipes
 
ref array< intm_RecipeIDs
 

Function Documentation

◆ AddRecipe()

bool AddRecipe ( int  recipe_id,
int  mask 
)

Definition at line 41 of file cacheobject.c.

◆ CacheObject()

void CacheObject ( )

Definition at line 35 of file cacheobject.c.

◆ DebugPrint()

void DebugPrint ( )

Definition at line 97 of file cacheobject.c.

◆ GetBitCountByRecipeID()

int GetBitCountByRecipeID ( int  recipe_id)

Definition at line 89 of file cacheobject.c.

◆ GetMaskByRecipeID()

int GetMaskByRecipeID ( int  recipe_id)

Definition at line 81 of file cacheobject.c.

◆ GetNumberOfRecipes()

int GetNumberOfRecipes ( )

Definition at line 66 of file cacheobject.c.

◆ GetRecipes()

array<int> GetRecipes ( )

Definition at line 71 of file cacheobject.c.

◆ IsContainRecipe()

bool IsContainRecipe ( int  recipe_id)

Definition at line 76 of file cacheobject.c.

◆ UpdateMask()

void UpdateMask ( int  recipe_id,
int  mask 
)

Definition at line 58 of file cacheobject.c.

Variable Documentation

◆ int

◆ m_RecipeIDs

ref array<int> m_RecipeIDs

Definition at line 33 of file cacheobject.c.

◆ m_Recipes

class RecipeCacheData m_Recipes