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

◆ CopyOldPropertiesToNew()

override void BreakLongWoodenStick::CopyOldPropertiesToNew ( notnull EntityAI old_item,
EntityAI new_item )
inlineprivate

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

76 {
77 super.CopyOldPropertiesToNew(old_item, new_item);
78
79 ItemBase sticks;
80 Class.CastTo(sticks, new_item);
81
82 ItemBase ingredient;
83 Class.CastTo(ingredient, old_item);
84
85 MiscGameplayFunctions.TransferItemProperties(ingredient, sticks);
86
88 }
class GP5GasMask extends MaskBase ItemBase
override bool SetQuantity(float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true)
Определения PileOfWoodenPlanks.c:88

Перекрестные ссылки Class::CastTo(), m_ItemCount и ItemBase::SetQuantity().