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

◆ RemoveOldItemFromLocation()

void ReplaceItemWithNewLambdaBase::RemoveOldItemFromLocation ( )
inlineprotected

Step B. - free location for new item @NOTE this operation does not delete the object, only removes it from inventory location.

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

87 {
88 if (!GameInventory.LocationRemoveEntity(m_OldLocation)) // B) remove entity from old inventory location (making it free for new item)
89 {
90 Error("[inv] ReplaceItemWithNewLambdaBase Step B) failed to remove old_item rom current inventory location");
92 }
93 Print("[inv] ReplaceItemWithNewLambdaBase Step B) remove OK, loc=" + InventoryLocation.DumpToStringNullSafe(m_OldLocation));
95 }
ref InventoryLocation m_OldLocation
Определения ReplaceItemWithNewLambdaBase.c:8
void Error(string err)
Messagebox with error message.
Определения EnDebug.c:90
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки InventoryLocation::DumpToStringNullSafe(), Error(), GameInventory::LocationRemoveEntity(), m_OldLocation, m_RemoveFromLocationPassed и Print().

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