![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Protected Member Functions | |
| void | StomachItem (string class_name, float amount, NutritionalProfile profile, int foodstage, int agents, float temperature) |
| void | AddAgents (int agents) |
| void | AddAmount (float amount) |
| void | AddTemperature (float temperature, float fraction) |
| float | GetAmount () |
| string | GetClassName () |
| int | GetFoodStage () |
| float | GetNutritions (float digestion_points, NutritionalProfile profile, out float water, out float energy, out float toxicity) |
| float | GetTemperature () |
| bool | ProcessDigestion (float digestion_points, out float water, out float energy, out float toxicity, out float volume, out int agents, out float consumed_amount) |
| void | SetFoodStage (int food_stage) |
Protected Attributes | |
| float | m_Temperature |
Private Attributes | |
| int | m_Agents |
| float | m_Amount |
| string | m_ClassName |
| int | m_FoodStage |
| ref NutritionalProfile | m_Profile |
Definition at line 1 of file playerstomach.c.
|
inlineprotected |
Definition at line 11 of file playerstomach.c.
References class_name, m_Agents, m_Amount, m_ClassName, m_FoodStage, m_Profile, and m_Temperature.
|
inlineprotected |
|
inlineprotected |
Definition at line 71 of file playerstomach.c.
References m_Temperature.
Referenced by AddToStomach().
|
inlineprotected |
Definition at line 49 of file playerstomach.c.
References m_Amount.
|
inlineprotected |
Definition at line 22 of file playerstomach.c.
References m_ClassName.
Referenced by AddToStomach().
|
inlineprotected |
Definition at line 38 of file playerstomach.c.
References m_FoodStage.
Referenced by AddToStomach().
|
inlineprotected |
Definition at line 90 of file playerstomach.c.
References NutritionalProfile::GetDigestibility(), NutritionalProfile::GetEnergy(), NutritionalProfile::GetToxicity(), NutritionalProfile::GetWaterContent(), and m_Amount.
Referenced by ProcessDigestion().
|
inlineprotected |
Definition at line 65 of file playerstomach.c.
References m_Temperature.
Referenced by OnStoreSave(), and UpdateStomachTemperature().
|
inlineprotected |
Definition at line 81 of file playerstomach.c.
References GetNutritions(), m_Agents, m_Amount, and m_Profile.
Referenced by ProcessNutrients().
|
inlineprotected |
Definition at line 43 of file playerstomach.c.
References m_FoodStage.
|
private |
Definition at line 8 of file playerstomach.c.
Referenced by StomachItem(), AddAgents(), AddToStomach(), OnStoreSave(), ProcessDigestion(), and ProcessNutrients().
|
private |
Definition at line 4 of file playerstomach.c.
Referenced by StomachItem(), AddAmount(), AddToStomach(), GetAmount(), GetNutritions(), OnStoreSave(), and ProcessDigestion().
|
private |
Definition at line 7 of file playerstomach.c.
Referenced by StomachItem(), GetClassName(), and OnStoreSave().
|
private |
Definition at line 5 of file playerstomach.c.
Referenced by StomachItem(), GetFoodStage(), OnStoreSave(), and SetFoodStage().
|
private |
Definition at line 3 of file playerstomach.c.
Referenced by StomachItem(), ProcessDigestion(), and ProcessNutrients().
|
protected |
Definition at line 9 of file playerstomach.c.
Referenced by StomachItem(), AddTemperature(), and GetTemperature().