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

◆ ConstructionInit()

void Entity::ConstructionInit ( )
inlineprotected

См. определение в файле 3_Game/DayZ/Entities/EntityAI.c строка 3464

3465 {
3466 ConstructionBasic constructionComponent = GetConstructionBasic();
3467 if (!constructionComponent && Class.CastTo(constructionComponent, CreateConstructionComponent()))
3468 {
3470 constructionComponent.Init();
3471 }
3472 }
ConstructionBasic CreateConstructionComponent()
void RegisterConstructionSyncVariables()
override to register necessary synced variables on parent type
ConstructionBasic GetConstructionBasic()
Construction itself is defined on module 4. Workaround. Don't forget to cast!

Перекрестные ссылки Class::CastTo(), CreateConstructionComponent(), GetConstructionBasic(), ConstructionBasic::Init() и RegisterConstructionSyncVariables().

Используется в EntityAI().