Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
StomachItem Class Reference

Protected Member Functions

void StomachItem (string class_name, float amount, NutritionalProfile profile, int foodstage, int agents, float temperature)
 
string GetClassName ()
 
int GetFoodStage ()
 
void SetFoodStage (int food_stage)
 
float GetAmount ()
 
void AddAmount (float amount)
 
void AddAgents (int agents)
 
float GetTemperature ()
 
void AddTemperature (float temperature, float fraction)
 
bool ProcessDigestion (float digestion_points, out float water, out float energy, out float toxicity, out float volume, out int agents, out float consumed_amount)
 
float GetNutritions (float digestion_points, NutritionalProfile profile, out float water, out float energy, out float toxicity)
 

Protected Attributes

float m_Temperature
 

Detailed Description

Definition at line 1 of file playerstomach.c.

Constructor & Destructor Documentation

◆ StomachItem()

void StomachItem::StomachItem ( string class_name,
float amount,
NutritionalProfile profile,
int foodstage,
int agents,
float temperature )
protected

Definition at line 11 of file playerstomach.c.

Member Function Documentation

◆ AddAgents()

void StomachItem::AddAgents ( int agents)
protected

Definition at line 60 of file playerstomach.c.

◆ AddAmount()

void StomachItem::AddAmount ( float amount)
protected

Definition at line 55 of file playerstomach.c.

◆ AddTemperature()

void StomachItem::AddTemperature ( float temperature,
float fraction )
protected

Definition at line 71 of file playerstomach.c.

◆ GetAmount()

float StomachItem::GetAmount ( )
protected

Definition at line 49 of file playerstomach.c.

◆ GetClassName()

string StomachItem::GetClassName ( )
protected

Definition at line 22 of file playerstomach.c.

◆ GetFoodStage()

int StomachItem::GetFoodStage ( )
protected

Definition at line 38 of file playerstomach.c.

◆ GetNutritions()

float StomachItem::GetNutritions ( float digestion_points,
NutritionalProfile profile,
out float water,
out float energy,
out float toxicity )
protected

Definition at line 90 of file playerstomach.c.

◆ GetTemperature()

float StomachItem::GetTemperature ( )
protected

Definition at line 65 of file playerstomach.c.

◆ ProcessDigestion()

bool StomachItem::ProcessDigestion ( float digestion_points,
out float water,
out float energy,
out float toxicity,
out float volume,
out int agents,
out float consumed_amount )
protected

Definition at line 81 of file playerstomach.c.

◆ SetFoodStage()

void StomachItem::SetFoodStage ( int food_stage)
protected

Definition at line 43 of file playerstomach.c.

Member Data Documentation

◆ m_Temperature

float StomachItem::m_Temperature
protected

Definition at line 9 of file playerstomach.c.


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