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

◆ CopyOldPropertiesToNew()

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

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

79 {
80 super.CopyOldPropertiesToNew(old_item, new_item);
81
82 ItemBase sticks;
83 Class.CastTo(sticks, new_item);
84
85 ItemBase ingredient;
86 Class.CastTo(ingredient, old_item);
87
88 MiscGameplayFunctions.TransferItemProperties(ingredient, sticks);
89
91 }
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().