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

◆ OnConstructionDoorCloseStart()

override void Rebuilding::OnConstructionDoorCloseStart ( DoorStartParams params)
inlineprotected

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

453 {
454 super.OnConstructionDoorCloseStart(params);
455
456 int doorIdx = (int)params.param1;
457 BuildingBase building;
458 AdditionalDoorInfo info;
459 if (Class.CastTo(building, m_EntityParent) && Class.CastTo(info, building.GetDoorInfo(doorIdx)) && info.m_DoorConstructionPhysicsSource != string.Empty)
460 {
461 building.SetAnimationPhase(info.m_DoorConstructionPhysicsSource, 0.0);
462 }
463 }
ActionOverrideData int
void BuildingBase()
EntityAI m_EntityParent
Определения ConstructionBase.c:45
string m_DoorConstructionPhysicsSource
Name of the construction part linked to the doors, if any (empty default)
Определения AdditionalDoorsInfo.c:10
static const string Empty
Определения EnString.c:7

Перекрестные ссылки BuildingBase(), Class::CastTo(), string::Empty, int, AdditionalDoorInfo::m_DoorConstructionPhysicsSource и m_EntityParent.