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

◆ CreateCopyOfItemInInventoryOrGroundEx()

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

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

6336 {
6338 if (!dst)
6339 {
6340 dst = ItemBase.Cast(SpawnEntityOnGroundPos(src.GetType(), this.GetPosition()));
6341 dst.PlaceOnSurface();
6342 dst.SetResultOfSplit(markItemAsSplitResult);
6343 MiscGameplayFunctions.TransferItemProperties(src, dst);
6344 }
6345
6346 return dst;
6347 }
class GP5GasMask extends MaskBase ItemBase
override EntityAI SpawnEntityOnGroundPos(string object_name, vector pos)
Определения PlayerBase.c:6214
ItemBase CreateCopyOfItemInInventory(ItemBase src)
Определения PlayerBase.c:6304

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

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