class BunkerBroadcastScheduler
BunkerBroadcastScheduler › Managed
Constructors 2
private void BunkerBroadcastScheduler(notnull BunkerBroadcastHandler handler)References new BunkerComponentsArray(), string.Format(), CfgBunkerBroadcastHandler.GetData()
Show 22 more
, GetDifferenceFromLastReport(), BunkerBroadcastPersistenceStorage.GetInstance(), BunkerBroadcastHandler.GetOnActiveBunkersSelected(), ScriptInvoker.Insert(), BunkerBroadcastPersistenceStorage.IsLoaded(), LoadLastReportTimeFromStorage(), PrintToRPT(), new ScriptInvoker(), new TStringArray(), new WorldTimeTracker(), m_ActiveBunkers, m_Config, m_ForceBroadcast, m_Handler, m_LastReportDifferenceMinutes, m_LastReportHour, m_LastReportMinute, m_MorseOutputData, m_OnAskForNewBunkers, m_PersitenceStorage, m_ReportData, and m_WorldTimeTrackerReferenced by GetInstance()
void ~BunkerBroadcastScheduler()Members 17
protected bool m_IsActivePeriodprotected int m_BatchSelectionTimerReferenced by OnUpdate()
protected bool m_BatchSelectedprotected int m_BatchLifetimeTimerReferenced by OnUpdate()
protected ref TStringArray m_ReportDataprotected ref TStringArray m_MorseOutputDataprotected BunkerBroadcastHandler m_Handlerprotected BunkerBroadcastConfigInstance m_Configprotected BunkerBroadcastPersistenceStorage m_PersitenceStorageReferenced by BunkerBroadcastScheduler(), LoadLastReportTimeFromStorage(), and UpdatePersistentData()
protected ref BunkerComponentsArray m_ActiveBunkersReferenced by BatchSelected(), BunkerBroadcastScheduler(), PrepareReport()
Show 1 more
, UpdatePersistentData()protected ref ScriptInvoker m_OnAskForNewBunkersprivate int m_LastReportHourReferenced by BunkerBroadcastScheduler(), GetDifferenceFromLastReport(), LoadLastReportTimeFromStorage()
Show 1 more
, UpdatePersistentData()private int m_LastReportMinuteReferenced by BunkerBroadcastScheduler(), GetDifferenceFromLastReport(), LoadLastReportTimeFromStorage()
Show 1 more
, UpdatePersistentData()private int m_LastReportDifferenceMinutesprivate bool m_ForceBroadcastprivate static ref BunkerBroadcastScheduler m_Instanceprivate ref WorldTimeTracker m_WorldTimeTrackerMethods 13
static BunkerBroadcastScheduler GetInstance(notnull BunkerBroadcastHandler handler)Referenced by BunkerBroadcastHandler.BunkerBroadcastHandler()
ScriptInvoker GetOnAskForNewBunkers()References m_OnAskForNewBunkers
void CheckActivePeriod()void OnUpdate(float timeslice)References GetDifferenceFromLastReport(), Log(), SelectNewBunkers()
Show 14 more
, SendReport(), WorldTimeTracker.TryPollDelta(), UpdatePersistentData(), m_BatchLifetimeTimer, m_BatchSelected, m_BatchSelectionTimer, m_Config, m_ForceBroadcast, m_IsActivePeriod, m_LastReportDifferenceMinutes, m_MorseOutputData, m_ReportData, m_WorldTimeTracker, and BunkerBroadcastConfigInstance.schedulerSettingsReferenced by BunkerBroadcastHandler.Update()
private void SelectNewBunkers()fixed bunker selection call each 5mins if no batch is selected
Referenced by OnUpdate()
private void BatchSelected()References BunkerBroadcastHandler.GetActiveBunkers(), PrepareReport(), SendReport()
Show 6 more
, UpdatePersistentData(), m_ActiveBunkers, m_BatchSelected, m_Handler, m_MorseOutputData, and m_ReportDataprivate TStringArray PrepareReport()References BunkerBroadcastComponentBase.GetLockCode(), BunkerBroadcastComponentBase.GetPosition(), array.Insert()
Referenced by BatchSelected()
private bool SendReport(TStringArray data, TStringArray morseData)References BunkerBroadcastManager.BroadcastTextAsMorse(), array.Count(), array.Count()
Show 12 more
, string.Format(), CGame.GetBunkerBroadcastManager(), GetGame(), Log(), BunkerBroadcastManager.SetBroadcastBunkerRepeatCount(), BunkerBroadcastManager.SetBroadcastTotalRepeatCount(), BunkerBroadcastManager.SetMessageSpeed(), BunkerBroadcastManager.SetPauseBetweenBunkers(), m_Config, m_MorseOutputData, m_ReportData, and BunkerBroadcastConfigInstance.playbackSettingsprivate void UpdatePersistentData()References map.Clear(), map.Copy(), World.GetDate()
Show 13 more
, BunkerBroadcastComponentBase.GetId(), BunkerBroadcastComponentBase.GetLockCode(), CGame.GetWorld(), map.Insert(), BunkerBroadcastPersistenceStorage.Save(), new TIntStringMap(), m_ActiveBunkers, BunkerBroadcastPersistenceStorage.m_HandlerData, m_LastReportDifferenceMinutes, m_LastReportHour, m_LastReportMinute, m_PersitenceStorage, and BunkerBroadcastPersistenceStorage.m_SchedulerDataprivate void LoadLastReportTimeFromStorage()Referenced by BunkerBroadcastScheduler()
private int GetDifferenceFromLastReport()References World.GetDate(), GetGame(), CGame.GetWorld()
Show 2 more
, m_LastReportHour, and m_LastReportMinuteprivate static void Log(string message, bool indented = false)ENABLE_LOGGINGReferences Class.ClassName(), string.Format(), LogManager.IsRadioGameplayLogEnabled()