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

◆ CopyOldPropertiesToNew()

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

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

618 {
619 super.CopyOldPropertiesToNew(old_item, new_item);
620
621 if (new_item)
622 {
623 ItemBase tanned_pelt = ItemBase.Cast( new_item );
624 tanned_pelt.SetQuantity(m_PeltCount);
625 }
626 else
627 {
628 Debug.LogError("TanLeatherLambda: failed to create new item","static");
629 }
630 }
string Debug()
Определения CachedEquipmentStorageBase.c:26
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)
Определения PileOfBricks.c:64
int m_PeltCount
Определения Barrel_ColorBase.c:613

Перекрестные ссылки Debug::LogError(), m_PeltCount и ItemBase::SetQuantity().