Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Файл CannedFood.c

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

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

class  DogFoodCan
 
class  CatFoodCan
 
class  PorkCan
 
class  Lunchmeat
 
class  UnknownFoodCan
 
class  Pajka
 
class  Pate
 
class  BrisketSpread
 

Функции

DogFoodCan Edible_Base CanDecay ()
 
override void Open ()
 Implementations only.
 
override void SetActions ()
 
override bool IsOpen ()
 
override bool CanProcessDecay ()
 
UnknownFoodCan Edible_Base UnknownFoodCan_Opened ()
 

Переменные

CatFoodCan DogFoodCan_Opened
 

Функции

◆ CanDecay()

DogFoodCan Edible_Base CanDecay ( )
26 {
27 return true;
28 }

◆ CanProcessDecay()

override bool CanProcessDecay ( )
31 {
32 return !( GetAgents() & eAgents.FOOD_POISON );
33 }
eAgents
Definition EAgents.c:3
override int GetAgents()
Definition ItemBase.c:8607

◆ IsOpen()

override bool IsOpen ( )

◆ Open()

override void Open ( )

Implementations only.

26 {
27 return true;
28 }
29
30 override bool CanProcessDecay()
override bool CanProcessDecay()
Definition CannedFood.c:30

Используется в FireplaceBase::OnWasAttached().

◆ SetActions()

override void SetActions ( )
36 {
37 super.SetActions();
Definition EntityAI.c:95

◆ UnknownFoodCan_Opened()

UnknownFoodCan Edible_Base UnknownFoodCan_Opened ( )
167 {
168 InsertAgent(eAgents.FOOD_POISON, 1);
169 }
override void InsertAgent(int agent, float count=1)
Definition ItemBase.c:8592

Перекрестные ссылки AddAction().

Переменные

◆ DogFoodCan_Opened

CatFoodCan DogFoodCan_Opened