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

◆ CreateCopyOfItemInInventoryOrGroundEx()

ItemBase ManBase::CreateCopyOfItemInInventoryOrGroundEx ( ItemBase src,
bool markItemAsSplitResult = false )
inlineprotected

См. определение в файле PlayerBase.c строка 6343

6344 {
6346 if (!dst)
6347 {
6348 dst = ItemBase.Cast(SpawnEntityOnGroundPos(src.GetType(), this.GetPosition()));
6349 dst.PlaceOnSurface();
6350 dst.SetResultOfSplit(markItemAsSplitResult);
6351 MiscGameplayFunctions.TransferItemProperties(src, dst);
6352 }
6353
6354 return dst;
6355 }
class GP5GasMask extends MaskBase ItemBase
override EntityAI SpawnEntityOnGroundPos(string object_name, vector pos)
Определения PlayerBase.c:6222
ItemBase CreateCopyOfItemInInventory(ItemBase src)
Определения PlayerBase.c:6312

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

Используется в CreateCopyOfItemInInventoryOrGround().