253{
257
259 {
260 if (!
GetGame().IsDedicatedServer())
261 {
263 {
265 }
266 }
267 }
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
299 {
300 GetCompEM().SwitchOn();
301 }
302
304 {
305 GetCompEM().SwitchOff();
306 }
307
309 {
311 if(!m_InputActionMap)
312 {
317 }
318 }
319
321 {
323 {
326 }
327
329 }
330
332 {
336 }
337
339 {
341
342 if (!action)
343 {
345 return;
346 }
347
349 if (!ai)
350 {
352 return;
353 }
354
356
357 if (!action_array)
358 {
361 }
362
364 {
365 Debug.
ActionLog(action.ToString() +
" -> " + ai,
this.ToString() ,
"n/a",
"Add action" );
366 }
367 action_array.Insert(action);
368 }
369
371 {
373 ActionBase action = player.GetActionManager().GetAction(actionName);
376
377 if (action_array)
378 {
379 action_array.RemoveItem(action);
380 }
381 }
382}
383
385{
387 {
388 return false;
389 }
390};
391
393{
394 proto native void SwitchOn(bool onOff);
395 proto native bool IsOn();
396};
397
399{
400 proto native void SwitchOn(bool onOff);
401 proto native bool IsOn();
402 proto native void SetNextChannel();
403 proto native void SetPrevChannel();
404 proto native float GetTunedFrequency();
405 proto native void EnableBroadcast(bool state);
406 proto native void EnableReceive(bool state);
407 proto native bool IsBroadcasting();
408 proto native bool IsReceiving();
409 proto native int GetTunedFrequencyIndex();
410 proto native void SetFrequencyByIndex(int index);
411}
void ActionManagerBase(PlayerBase player)
map< typename, ref array< ActionBase_Basic > > TInputActionMap
void AddAction(typename actionName)
void RemoveAction(typename actionName)
void AdvancedCommunication()
TInputActionMap m_InputActionMap
void TurnOffTransmitter()
class PASBroadcaster extends AdvancedCommunication IsInventoryVisible
override void GetActions(typename action_input_type, out array< ActionBase_Basic > actions)
static ref map< typename, ref TInputActionMap > m_AdvComTypeActionsMap
static void LogError(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message as error message.
static void ActionLog(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
static bool IsActionLogEnable()
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()