Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
class | StomachItem |
Functions | |
void | PlayerStomach (PlayerBase player) |
void | ~PlayerStomach () |
float | GetStomachVolume () |
void | ClearContents () |
void | SetAgentTransferFilter (int filter_agents) |
int | GetAgentTransferFilter () |
int | GetStorageVersion () |
bool | IsDigesting () |
int | GetDigestingType () |
void | Update (float delta_time) |
void | ProcessNutrients (float delta_time) |
void | DigestAgents (int agents, float quantity) |
void | PrintUpdate () |
void | AddToStomach (string class_name, float amount, int food_stage=0, int agents=0) |
void | OnStoreSave (ParamsWriteContext ctx) |
bool | OnStoreLoad (ParamsReadContext ctx, int version) |
int | GetDebugObject (array< ref Param > object_out) |
Variables | |
class StomachItem | DIGESTING_WATER = 1 |
const int | DIGESTING_ENERGY = 2 |
const int | quantity_bit_offset = 16 |
const int | id_bit_offset = 4 |
const float | DIGESTION_POINTS = PlayerConstants.DIGESTION_SPEED |
const int | ACCEPTABLE_QUANTITY_MAX = 32768 |
const int | ACCEPTABLE_FOODSTAGE_MAX = FoodStageType.COUNT - 1 |
ref array< ref StomachItem > | m_StomachContents = new array<ref StomachItem> |
int | m_AgentTransferFilter |
bool | m_Digesting |
int | m_DigestingType |
PlayerBase | m_Player |
float | m_StomachVolume |
const int | STORAGE_VERSION = 106 |
Definition at line 323 of file playerstomach.c.
void ClearContents | ( | ) |
Definition at line 143 of file playerstomach.c.
Definition at line 287 of file playerstomach.c.
int GetAgentTransferFilter | ( | ) |
Definition at line 154 of file playerstomach.c.
Definition at line 442 of file playerstomach.c.
int GetDigestingType | ( | ) |
Definition at line 237 of file playerstomach.c.
float GetStomachVolume | ( | ) |
Definition at line 138 of file playerstomach.c.
int GetStorageVersion | ( | ) |
Definition at line 227 of file playerstomach.c.
bool IsDigesting | ( | ) |
Definition at line 232 of file playerstomach.c.
bool OnStoreLoad | ( | ParamsReadContext | ctx, |
int | version | ||
) |
Definition at line 396 of file playerstomach.c.
void OnStoreSave | ( | ParamsWriteContext | ctx | ) |
Definition at line 375 of file playerstomach.c.
void PlayerStomach | ( | PlayerBase | player | ) |
Definition at line 127 of file playerstomach.c.
void PrintUpdate | ( | ) |
Definition at line 303 of file playerstomach.c.
void ProcessNutrients | ( | float | delta_time | ) |
Definition at line 248 of file playerstomach.c.
void SetAgentTransferFilter | ( | int | filter_agents | ) |
Definition at line 149 of file playerstomach.c.
void Update | ( | float | delta_time | ) |
Definition at line 243 of file playerstomach.c.
void ~PlayerStomach | ( | ) |
Definition at line 132 of file playerstomach.c.
const int ACCEPTABLE_FOODSTAGE_MAX = FoodStageType.COUNT - 1 |
Definition at line 114 of file playerstomach.c.
const int ACCEPTABLE_QUANTITY_MAX = 32768 |
Definition at line 113 of file playerstomach.c.
const int DIGESTING_ENERGY = 2 |
Definition at line 107 of file playerstomach.c.
class StomachItem DIGESTING_WATER = 1 |
const float DIGESTION_POINTS = PlayerConstants.DIGESTION_SPEED |
Definition at line 112 of file playerstomach.c.
const int id_bit_offset = 4 |
Definition at line 110 of file playerstomach.c.
int m_AgentTransferFilter |
Definition at line 119 of file playerstomach.c.
bool m_Digesting |
Definition at line 120 of file playerstomach.c.
int m_DigestingType |
Definition at line 121 of file playerstomach.c.
PlayerBase m_Player |
Definition at line 122 of file playerstomach.c.
ref array<ref StomachItem> m_StomachContents = new array<ref StomachItem> |
Definition at line 118 of file playerstomach.c.
float m_StomachVolume |
Definition at line 123 of file playerstomach.c.
const int quantity_bit_offset = 16 |
Definition at line 109 of file playerstomach.c.
const int STORAGE_VERSION = 106 |
Definition at line 124 of file playerstomach.c.