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

◆ Synchronize()

void Synchronize ( )
protected

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

152 {
153 if (LogManager.IsBaseBuildingLogEnable()) bsbDebugPrint("[bsb] CombinationLock.Synchronize " + " m_Combination=" + m_Combination + " m_CombinationLocked=" + m_CombinationLocked);
154 if ( GetGame().IsServer() )
155 {
156 SetSynchDirty();
157 GetGame().GetCallQueue( CALL_CATEGORY_SYSTEM ).CallLater( ResetActionVar, 1000);//synced var used to trigger client sound needs to be reset after triggering the sound
159 }
160 }
class BaseBuildingBase extends ItemBase bsbDebugPrint(string s)
Определения BaseBuildingBase.c:1292
void ResetActionVar()
Определения CombinationLock.c:163
void UpdateVisuals()
Определения CombinationLock.c:407
int m_Combination
Определения CombinationLock.c:15
int m_CombinationLocked
Определения CombinationLock.c:16
override ScriptCallQueue GetCallQueue(int call_category)
Определения DayZGame.c:1187
static bool IsBaseBuildingLogEnable()
Определения Debug.c:698
Определения Debug.c:594
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_SYSTEM
Определения tools.c:8

Перекрестные ссылки bsbDebugPrint(), CALL_CATEGORY_SYSTEM, ScriptCallQueue::CallLater(), CGame::GetCallQueue(), GetGame(), LogManager::IsBaseBuildingLogEnable(), m_Combination, m_CombinationLocked, ResetActionVar() и UpdateVisuals().

Используется в AfterStoreLoad(), CheckValue(), DialNextNumber(), EEItemAttached(), EEItemDetached(), Weapon::FillChamber(), Heating(), LockServer(), RefreshAudioVisualsOnClient(), RemoveAudioVisualsOnClient(), SetFireState(), SetNextDial(), SetOvenState(), SetStoneCircleState(), Weapon::SpawnAttachedMagazine(), StartFire(), StopFire() и UnlockServer().