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

◆ CreateCopyOfItemInInventoryOrGroundEx()

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

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

6568 {
6570 if (!dst)
6571 {
6572 dst = ItemBase.Cast(SpawnEntityOnGroundPos(src.GetType(), this.GetPosition()));
6573 dst.PlaceOnSurface();
6574 dst.SetResultOfSplit(markItemAsSplitResult);
6575 MiscGameplayFunctions.TransferItemProperties(src, dst);
6576 }
6577
6578 return dst;
6579 }
class GP5GasMask extends MaskBase ItemBase
override EntityAI SpawnEntityOnGroundPos(string object_name, vector pos)
Определения PlayerBase.c:6445
ItemBase CreateCopyOfItemInInventory(ItemBase src)
Определения PlayerBase.c:6535

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

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