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

◆ SwitchItems()

static void PaintItem::SwitchItems ( EntityAI old_item,
string new_item,
PlayerBase player )
inlinestaticprivate

Will switch the 'item' for a new game entity, the new entity's classname will be formed by adding the 'suffix' to the classname of the old 'item'.

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

30 {
31 MiscGameplayFunctions.TurnItemIntoItemEx(player, new PaintItemLambda(old_item, new_item, player));
32 }

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