DayZ 1.24
Loading...
Searching...
No Matches
RecipeCacheData Class Reference
Collaboration diagram for RecipeCacheData:
[legend]

Private Member Functions

void RecipeCacheData (int mask)
 
int GetMask ()
 
int GetBitCount ()
 
void SetMask (int mask)
 

Private Attributes

int m_Mask
 
int m_BitCount
 

Detailed Description

Definition at line 2 of file CacheObject.c.

Constructor & Destructor Documentation

◆ RecipeCacheData()

void RecipeCacheData::RecipeCacheData ( int mask)
inlineprivate

Definition at line 7 of file CacheObject.c.

8 {
10 }
void SetMask(int mask)
Definition CacheObject.c:22

References SetMask().

Member Function Documentation

◆ GetBitCount()

int RecipeCacheData::GetBitCount ( )
inlineprivate

Definition at line 17 of file CacheObject.c.

18 {
19 return m_BitCount;
20 }

References m_BitCount.

◆ GetMask()

int RecipeCacheData::GetMask ( )
inlineprivate

Definition at line 12 of file CacheObject.c.

13 {
14 return m_Mask;
15 }

References m_Mask.

◆ SetMask()

void RecipeCacheData::SetMask ( int mask)
inlineprivate

Definition at line 22 of file CacheObject.c.

23 {
24 m_Mask = mask;
26 }
Definition EnMath.c:7
static proto int GetNumberOfSetBits(int i)
returns the number of bits set in a bitmask i

References Math::GetNumberOfSetBits(), m_BitCount, and m_Mask.

Referenced by RecipeCacheData().

Member Data Documentation

◆ m_BitCount

int RecipeCacheData::m_BitCount
private

Definition at line 5 of file CacheObject.c.

Referenced by GetBitCount(), and SetMask().

◆ m_Mask

int RecipeCacheData::m_Mask
private

Definition at line 4 of file CacheObject.c.

Referenced by GetMask(), and SetMask().


The documentation for this class was generated from the following file: