181{
185
187 {
188 if (!
g_Game.IsDedicatedServer())
189 {
191 {
193 }
194 }
195 }
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
227 {
228 GetCompEM().SwitchOn();
229 }
230
232 {
233 GetCompEM().SwitchOff();
234 }
235
237 {
239 if(!m_InputActionMap)
240 {
245 }
246 }
247
249 {
251 {
254 }
255
257 }
258
260 {
264 }
265
267 {
269
270 if (!action)
271 {
273 return;
274 }
275
276 typename ai = action.GetInputType();
277 if (!ai)
278 {
280 return;
281 }
282
284
285 if (!action_array)
286 {
289 }
290
292 {
293 Debug.
ActionLog(action.ToString() +
" -> " + ai,
this.ToString() ,
"n/a",
"Add action" );
294 }
295 action_array.Insert(action);
296 }
297
299 {
301 ActionBase action = player.GetActionManager().GetAction(actionName);
302 typename ai = action.GetInputType();
304
305 if (action_array)
306 {
307 action_array.RemoveItem(action);
308 }
309 }
310}
311
313{
315 {
316 return false;
317 }
318};
319
321{
322 proto native void SwitchOn(bool onOff);
323 proto native bool IsOn();
324
326 {
327 return true;
328 }
329};
330
332{
333 proto native void SwitchOn(bool onOff);
334 proto native bool IsOn();
335 proto native void SetNextChannel();
336 proto native void SetPrevChannel();
337 proto native float GetTunedFrequency();
338 proto native void EnableBroadcast(bool state);
339 proto native void EnableReceive(bool state);
340 proto native bool IsBroadcasting();
341 proto native bool IsReceiving();
342 proto native int GetTunedFrequencyIndex();
343 proto native void SetFrequencyByIndex(int index);
344}
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
override bool IsDetectableByVicinityCone()
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.