229 {
230 if (data.Count() == 0)
231 {
232
233
234
235 return false;
236 }
237
238 BunkerBroadcastManager bbm =
GetGame().GetBunkerBroadcastManager();
239 if (bbm)
240 {
242 m_Config.playbackSettings.dotDuration,
243 m_Config.playbackSettings.dashDuration,
244 m_Config.playbackSettings.symbolGapDuration,
245 m_Config.playbackSettings.wordGapDuration,
246 );
250
252
253 #ifdef ENABLE_LOGGING
254 Log(
"Reporting active bunkers:");
255 int i;
256 for (i = 0; i < data.Count(); i += 2)
257 {
258 Log(
string.Format(
"position:%1 code:%2", data[i], data[i+1]),
true);
259 }
261 {
263 }
264
266 #endif
267
268 return true;
269 }
270
271 return false;
272 }
class LogTemplates Log(string message, LogTemplateID template_id=0)
Creates debug log (optional) from LogTemplate which are registred.
proto native void SetBroadcastBunkerRepeatCount(int count)
proto native void SetPauseBetweenBunkers(float pause)
proto native void SetMessageSpeed(float dotDuration, float dashDuration, float symbolGap, float wordGap)
proto native void SetBroadcastTotalRepeatCount(int count)
proto native void BroadcastTextAsMorse(notnull array< string > inputs, notnull array< string > outputs)
BunkerBroadcastConfigInstance m_Config
ref TStringArray m_MorseOutputData
ref TStringArray m_ReportData