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

◆ FullyBuild()

override void TerritoryFlag::FullyBuild ( )
inlineprivate

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

54 {
55 array<ConstructionPart> parts = GetConstruction().GetConstructionParts().GetValueArray();
56
57 foreach (ConstructionPart part : parts)
58 {
59 ConstructionPart construtionPart = GetConstruction().GetConstructionPart(part.GetPartName());
60
61 if (construtionPart.IsBase())
62 {
63 SetBaseState(true);
65 }
66
67 RegisterPartForSync(construtionPart.GetId());
68 RegisterActionForSync(construtionPart.GetId(), AT_BUILD_PART);
70 SetPartFromSyncData(construtionPart); // server part of sync, client will be synced from SetPartsFromSyncData
74 }
75
76 GetConstruction().UpdateVisuals();
77 }
const int AT_BUILD_PART
Определения _constants.c:6
void UpdateNavmesh()
Определения BaseBuildingBase.c:2174
void RegisterPartForSync(int part_id)
Определения BaseBuildingBase.c:1413
void RegisterActionForSync(int part_id, int action_id)
Определения BaseBuildingBase.c:1511
void ResetActionSyncData()
Определения BaseBuildingBase.c:1517
Construction GetConstruction()
Определения BaseBuildingBase.c:2244
void SetPartFromSyncData(ConstructionPart part)
Определения BaseBuildingBase.c:1541
ItemBase CreateConstructionKit()
Определения BaseBuildingBase.c:1641
void SynchronizeBaseState()
Определения BaseBuildingBase.c:1384
void SetBaseState(bool has_base)
Определения BaseBuildingBase.c:1625
void UpdateVisuals()
Определения Construction.c:188
override ScriptCallQueue GetCallQueue(int call_category)
Определения DayZGame.c:1187
int GetId()
Определения ConstructionPart.c:40
bool IsBase()
Определения ConstructionPart.c:65
proto void CallLater(func fn, int delay=0, bool repeat=false, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto native CGame GetGame()
const int CALL_CATEGORY_GAMEPLAY
Определения tools.c:10

Перекрестные ссылки AT_BUILD_PART, CALL_CATEGORY_GAMEPLAY, ScriptCallQueue::CallLater(), CreateConstructionKit(), CGame::GetCallQueue(), GetConstruction(), GetGame(), ConstructionPart::GetId(), ConstructionPart::IsBase(), RegisterActionForSync(), RegisterPartForSync(), ResetActionSyncData(), SetBaseState(), SetPartFromSyncData(), SynchronizeBaseState(), UpdateNavmesh() и UpdateVisuals().

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