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

◆ CreateConstructionKit()

ItemBase ItemBase::CreateConstructionKit ( )
inlineprotected

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

353 {
354 ItemBase construction_kit = ItemBase.Cast( GetGame().CreateObjectEx( GetConstructionKitType(), GetKitSpawnPosition(), ECE_PLACE_ON_SURFACE ) );
355 if ( m_ConstructionKitHealth > 0 )
356 {
357 construction_kit.SetHealth( m_ConstructionKitHealth );
358 }
359
360 return construction_kit;
361 }
const int ECE_PLACE_ON_SURFACE
Определения CentralEconomy.c:37
class GP5GasMask extends MaskBase ItemBase
vector GetKitSpawnPosition()
Определения BaseBuildingBase.c:372
string GetConstructionKitType()
Определения BaseBuildingBase.c:377
float m_ConstructionKitHealth
Определения BaseBuildingBase.c:6
proto native CGame GetGame()

Перекрестные ссылки ECE_PLACE_ON_SURFACE, BaseBuildingBase::GetConstructionKitType(), GetGame(), BaseBuildingBase::GetKitSpawnPosition() и m_ConstructionKitHealth.