Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
NutritionalProfile Class Reference

Private Member Functions

void NutritionalProfile (float energy=0.0, float water_content=0.0, float nutritional_index=0.0, float fullness_index=0.0, float toxicity=0.0, int agents=0.0, float digestibility=0.0)
 DEPRECATED - used as the structure with direct access.
int GetAgents ()
float GetDigestibility ()
float GetEnergy ()
float GetFullnessIndex ()
string GetLiquidClassname ()
int GetLiquidType ()
float GetNutritionalIndex ()
float GetToxicity ()
float GetWaterContent ()
bool IsLiquid ()
void MarkAsLiquid (int liquid_type, string classname)

Private Attributes

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

Detailed Description

Definition at line 1 of file nutritionalprofile.c.

Constructor & Destructor Documentation

◆ NutritionalProfile()

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

DEPRECATED - used as the structure with direct access.

Definition at line 15 of file nutritionalprofile.c.

References m_Agents, m_Digestibility, m_Energy, m_FullnessIndex, m_NutritionalIndex, m_Toxicity, and m_WaterContent.

Member Function Documentation

◆ GetAgents()

int GetAgents ( )
inlineprivate

Definition at line 32 of file nutritionalprofile.c.

References m_Agents.

Referenced by AddToStomach().

◆ GetDigestibility()

float GetDigestibility ( )
inlineprivate

Definition at line 77 of file nutritionalprofile.c.

References m_Digestibility.

Referenced by StomachItem::GetNutritions().

◆ GetEnergy()

float GetEnergy ( )
inlineprivate

Definition at line 52 of file nutritionalprofile.c.

References m_Energy.

Referenced by StomachItem::GetNutritions().

◆ GetFullnessIndex()

float GetFullnessIndex ( )
inlineprivate

Definition at line 67 of file nutritionalprofile.c.

References m_FullnessIndex.

◆ GetLiquidClassname()

string GetLiquidClassname ( )
inlineprivate

Definition at line 42 of file nutritionalprofile.c.

References m_LiquidClassname.

◆ GetLiquidType()

int GetLiquidType ( )
inlineprivate

Definition at line 37 of file nutritionalprofile.c.

References m_LiquidType.

◆ GetNutritionalIndex()

float GetNutritionalIndex ( )
inlineprivate

Definition at line 62 of file nutritionalprofile.c.

References m_NutritionalIndex.

◆ GetToxicity()

float GetToxicity ( )
inlineprivate

Definition at line 72 of file nutritionalprofile.c.

References m_Toxicity.

Referenced by StomachItem::GetNutritions().

◆ GetWaterContent()

float GetWaterContent ( )
inlineprivate

Definition at line 57 of file nutritionalprofile.c.

References m_WaterContent.

Referenced by StomachItem::GetNutritions().

◆ IsLiquid()

bool IsLiquid ( )
inlineprivate

Definition at line 47 of file nutritionalprofile.c.

References m_LiquidType.

Referenced by AddToStomach().

◆ MarkAsLiquid()

void MarkAsLiquid ( int liquid_type,
string classname )
inlineprivate

Definition at line 26 of file nutritionalprofile.c.

References m_LiquidClassname, and m_LiquidType.

Referenced by SetUpNutritionalProfile().

Field Documentation

◆ m_Agents

◆ m_AgentsPerDigest

◆ m_Digestibility

◆ m_Energy

◆ m_FullnessIndex

◆ m_LiquidClassname

string m_LiquidClassname
private

Definition at line 10 of file nutritionalprofile.c.

Referenced by GetLiquidClassname(), and MarkAsLiquid().

◆ m_LiquidType

int m_LiquidType
private

Definition at line 8 of file nutritionalprofile.c.

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

◆ m_NutritionalIndex

◆ m_Toxicity

◆ m_WaterContent


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