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

Private Member Functions

void NutritionalProfile (float energy, float water_content, float nutritional_index, float fullness_index, float toxicity, int agents, float digestibility)
 
void MarkAsLiquid (int liquid_type, string classname)
 
int GetAgents ()
 
int GetLiquidType ()
 
string GetLiquidClassname ()
 
bool IsLiquid ()
 
float GetEnergy ()
 
float GetWaterContent ()
 
float GetNutritionalIndex ()
 
float GetFullnessIndex ()
 
float GetToxicity ()
 
float GetDigestibility ()
 

Private Attributes

float m_Energy
 
float m_WaterContent
 
float m_NutritionalIndex
 
float m_FullnessIndex
 
float m_Toxicity
 
int m_LiquidType
 
int m_Agents
 
string m_LiquidClassname
 
float m_Digestibility
 

Detailed Description

Definition at line 1 of file NutritionalProfile.c.

Constructor & Destructor Documentation

◆ NutritionalProfile()

void NutritionalProfile::NutritionalProfile ( float energy,
float water_content,
float nutritional_index,
float fullness_index,
float toxicity,
int agents,
float digestibility )
inlineprivate

Member Function Documentation

◆ GetAgents()

int NutritionalProfile::GetAgents ( )
inlineprivate

Definition at line 30 of file NutritionalProfile.c.

31 {
32 return m_Agents;
33 }

References m_Agents.

◆ GetDigestibility()

float NutritionalProfile::GetDigestibility ( )
inlineprivate

Definition at line 75 of file NutritionalProfile.c.

76 {
77 return m_Digestibility;
78 }

References m_Digestibility.

◆ GetEnergy()

float NutritionalProfile::GetEnergy ( )
inlineprivate

Definition at line 50 of file NutritionalProfile.c.

51 {
52 return m_Energy;
53 }

References m_Energy.

◆ GetFullnessIndex()

float NutritionalProfile::GetFullnessIndex ( )
inlineprivate

Definition at line 65 of file NutritionalProfile.c.

66 {
67 return m_FullnessIndex;
68 }

References m_FullnessIndex.

◆ GetLiquidClassname()

string NutritionalProfile::GetLiquidClassname ( )
inlineprivate

Definition at line 40 of file NutritionalProfile.c.

41 {
42 return m_LiquidClassname;
43 }

References m_LiquidClassname.

◆ GetLiquidType()

int NutritionalProfile::GetLiquidType ( )
inlineprivate

Definition at line 35 of file NutritionalProfile.c.

36 {
37 return m_LiquidType;
38 }

References m_LiquidType.

◆ GetNutritionalIndex()

float NutritionalProfile::GetNutritionalIndex ( )
inlineprivate

Definition at line 60 of file NutritionalProfile.c.

61 {
62 return m_NutritionalIndex;
63 }

References m_NutritionalIndex.

◆ GetToxicity()

float NutritionalProfile::GetToxicity ( )
inlineprivate

Definition at line 70 of file NutritionalProfile.c.

71 {
72 return m_Toxicity;
73 }

References m_Toxicity.

◆ GetWaterContent()

float NutritionalProfile::GetWaterContent ( )
inlineprivate

Definition at line 55 of file NutritionalProfile.c.

56 {
57 return m_WaterContent;
58 }

References m_WaterContent.

◆ IsLiquid()

bool NutritionalProfile::IsLiquid ( )
inlineprivate

Definition at line 45 of file NutritionalProfile.c.

46 {
47 return (m_LiquidType > 0);
48 }

References m_LiquidType.

◆ MarkAsLiquid()

void NutritionalProfile::MarkAsLiquid ( int liquid_type,
string classname )
inlineprivate

Definition at line 24 of file NutritionalProfile.c.

References m_LiquidClassname, and m_LiquidType.

Member Data Documentation

◆ m_Agents

int NutritionalProfile::m_Agents
private

Definition at line 9 of file NutritionalProfile.c.

Referenced by GetAgents(), and NutritionalProfile().

◆ m_Digestibility

float NutritionalProfile::m_Digestibility
private

Definition at line 11 of file NutritionalProfile.c.

Referenced by GetDigestibility(), and NutritionalProfile().

◆ m_Energy

float NutritionalProfile::m_Energy
private

Definition at line 3 of file NutritionalProfile.c.

Referenced by GetEnergy(), and NutritionalProfile().

◆ m_FullnessIndex

float NutritionalProfile::m_FullnessIndex
private

Definition at line 6 of file NutritionalProfile.c.

Referenced by GetFullnessIndex(), and NutritionalProfile().

◆ m_LiquidClassname

string NutritionalProfile::m_LiquidClassname
private

Definition at line 10 of file NutritionalProfile.c.

Referenced by GetLiquidClassname(), and MarkAsLiquid().

◆ m_LiquidType

int NutritionalProfile::m_LiquidType
private

Definition at line 8 of file NutritionalProfile.c.

Referenced by GetLiquidType(), IsLiquid(), and MarkAsLiquid().

◆ m_NutritionalIndex

float NutritionalProfile::m_NutritionalIndex
private

Definition at line 5 of file NutritionalProfile.c.

Referenced by GetNutritionalIndex(), and NutritionalProfile().

◆ m_Toxicity

float NutritionalProfile::m_Toxicity
private

Definition at line 7 of file NutritionalProfile.c.

Referenced by GetToxicity(), and NutritionalProfile().

◆ m_WaterContent

float NutritionalProfile::m_WaterContent
private

Definition at line 4 of file NutritionalProfile.c.

Referenced by GetWaterContent(), and NutritionalProfile().


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