Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс ReplaceAndDestroyLambdaEx
+ Граф наследования:ReplaceAndDestroyLambdaEx:

Защищенные члены

EntityAI CreateNewEntity ()
 

Закрытые члены

void ReplaceAndDestroyLambdaEx (EntityAI old_item, string new_item_type, PlayerBase player, bool destroy=false, bool enableDrop=true)
 

Подробное описание

Конструктор(ы)

◆ ReplaceAndDestroyLambdaEx()

void ReplaceAndDestroyLambdaEx ( EntityAI old_item,
string new_item_type,
PlayerBase player,
bool destroy = false,
bool enableDrop = true )
inlineprivate
176 {
178 }
Definition EntityAI.c:95
bool m_Drop
Definition ActionUnrestrainTarget.c:153

Перекрестные ссылки ReplaceAndDestroyLambda::m_Drop.

Методы

◆ CreateNewEntity()

EntityAI CreateNewEntity ( )
inlineprotected
181 {
182 EntityAI newItem = super.CreateNewEntity();
183
184 if (!newItem && m_Drop)
185 {
186 newItem = EntityAI.Cast(GetGame().CreateObjectEx(m_NewItemType, m_TargetPlayer.GetPosition(), ECE_PLACE_ON_SURFACE|ECE_LOCAL));
187 }
188
189 return newItem;
190 }
const int ECE_LOCAL
Definition CentralEconomy.c:24
const int ECE_PLACE_ON_SURFACE
Definition CentralEconomy.c:37
Definition Building.c:6
PlayerBase m_TargetPlayer
Definition ActionUnrestrainTarget.c:151
proto native CGame GetGame()

Перекрестные ссылки ECE_LOCAL, ECE_PLACE_ON_SURFACE, GetGame(), ReplaceAndDestroyLambda::m_Drop и ReplaceAndDestroyLambda::m_TargetPlayer.


Объявления и описания членов класса находятся в файле: