DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
Файл Edible_Base.c

См. исходные тексты.

Структуры данных

class  Edible_Base
 

Функции

Edible_Base ItemBase ReplaceEdibleWithNewLambda (EntityAI old_item, string new_item_type, PlayerBase player)
 
void Edible_Base ()
 
override void EEInit ()
 
override void EEDelete (EntityAI parent)
 
override void EEItemLocationChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)
 
void UpdateVisualsEx (bool forced=false)
 
bool Consume (float amount, PlayerBase consumer)
 
void OnConsume (float amount, PlayerBase consumer)
 
int FilterAgents (int agentsIn)
 Filter agents from the item (override on higher implementations)
 
override bool CanBeCooked ()
 
override bool CanBeCookedOnStick ()
 
override float GetTemperatureFreezeTime ()
 
override float GetTemperatureThawTime ()
 
override bool CanItemOverheat ()
 
void Synchronize ()
 
override void OnVariablesSynchronized ()
 
void MakeSoundsOnClient (bool soundstate, CookingMethodType cookingMethod=CookingMethodType.NONE)
 
void RefreshAudio ()
 
void RemoveAudio ()
 
override void OnStoreSave (ParamsWriteContext ctx)
 
override bool OnStoreLoad (ParamsReadContext ctx, int version)
 
override void AfterStoreLoad ()
 
override FoodStage GetFoodStage ()
 
override bool IsMeat ()
 
override bool IsCorpse ()
 
override bool IsFruit ()
 
override bool IsMushroom ()
 
static float GetFoodTotalVolume (ItemBase item, string classname="", int food_stage=0)
 
static float GetFoodEnergy (ItemBase item, string classname="", int food_stage=0)
 
static float GetFoodWater (ItemBase item, string classname="", int food_stage=0)
 
static float GetFoodNutritionalIndex (ItemBase item, string classname="", int food_stage=0)
 
static float GetFoodToxicity (ItemBase item, string classname="", int food_stage=0)
 
static int GetFoodAgents (ItemBase item, string classname="", int food_stage=0)
 
static float GetFoodDigestibility (ItemBase item, string classname="", int food_stage=0)
 
static float GetAgentsPerDigest (ItemBase item, string className="", int foodStage=0)
 
static NutritionalProfile GetNutritionalProfile (ItemBase item, string classname="", int food_stage=0)
 
FoodStageType GetFoodStageType ()
 
bool IsFoodRaw ()
 
bool IsFoodBaked ()
 
bool IsFoodBoiled ()
 
bool IsFoodDried ()
 
bool IsFoodBurned ()
 
bool IsFoodRotten ()
 
void ChangeFoodStage (FoodStageType new_food_stage_type)
 
FoodStageType GetNextFoodStageType (CookingMethodType cooking_method)
 
string GetFoodStageName (FoodStageType food_stage_type)
 
bool CanChangeToNewStage (CookingMethodType cooking_method)
 
void TransferFoodStage (notnull Edible_Base source)
 
void OnFoodStageChange (FoodStageType stageOld, FoodStageType stageNew)
 called on server
 
void HandleFoodStageChangeAgents (FoodStageType stageOld, FoodStageType stageNew)
 removes select agents on foodstage transitions
 
float GetCookingTime ()
 
void SetCookingTime (float time)
 
void ResetCookingTime ()
 
void ReplaceEdibleWithNew (string typeName)
 
int GetConsumptionPenaltyContext ()
 
override void SetActions ()
 
void SoundCookingStart (string sound_name)
 
void SoundCookingStop ()
 
override bool CanDecay ()
 
override bool CanProcessDecay ()
 
override void ProcessDecay (float delta, bool hasRootAsPlayer)
 
void UpdateVaporParticle ()
 
override void GetDebugActions (out TSelectableActionInfoArrayEx outputList)
 
override bool OnAction (int action_id, Man player, ParamsReadContext ctx)
 
override string GetDebugText ()
 
override float GetBaitEffectivity ()
 
float GetDecayTimer ()
 
float GetDecayDelta ()
 
FoodStageType GetLastDecayStage ()
 
void UpdateVisuals ()
 

Переменные

const string DIRECT_COOKING_SLOT_NAME = "DirectCooking"
 
const string SOUND_BAKING_START = "Baking_SoundSet"
 
const string SOUND_BAKING_DONE = "Baking_Done_SoundSet"
 
const string SOUND_BOILING_START = "Boiling_SoundSet"
 
const string SOUND_BOILING_DONE = "Boiling_Done_SoundSet"
 
const string SOUND_DRYING_START = "Drying_SoundSet"
 
const string SOUND_DRYING_DONE = "Drying_Done_SoundSet"
 
const string SOUND_BURNING_DONE = "Food_Burning_SoundSet"
 
bool m_MakeCookingSounds
 
SoundOnVehicle m_SoundCooking
 
EffectSound m_SoundEffectCooking
 DEPRECATED.
 
string m_SoundPlaying
 
ref FoodStage m_FoodStage
 
float m_DecayTimer
 
float m_DecayDelta = 0.0
 
FoodStageType m_LastDecayStage = FoodStageType.NONE
 
ParticleSource m_HotVaporParticle
 
CookingMethodType m_CookedByMethod