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

◆ CreateCopyOfItemInInventoryOrGroundEx()

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

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

6889 {
6891 if (!dst)
6892 {
6893 dst = ItemBase.Cast(SpawnEntityOnGroundPos(src.GetType(), this.GetPosition()));
6894 dst.PlaceOnSurface();
6895 dst.SetResultOfSplit(markItemAsSplitResult);
6896 MiscGameplayFunctions.TransferItemProperties(src, dst);
6897 }
6898
6899 return dst;
6900 }
class GP5GasMask extends MaskBase ItemBase
override EntityAI SpawnEntityOnGroundPos(string object_name, vector pos)
Определения PlayerBase.c:6741
ItemBase CreateCopyOfItemInInventory(ItemBase src)
Определения PlayerBase.c:6856

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

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