Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
BaseRadioComponent.c
Go to the documentation of this file.
1
/*
2
===========================================
3
Do not modify, this script is generated
4
===========================================
5
*/
6
11
12
class
BaseRadioComponentClass
:
GameComponentClass
13
{
14
}
15
16
class
BaseRadioComponent:
GameComponent
17
{
18
ref
ScriptInvoker<BaseTransceiver, int, int>
m_OnTansceiverFrequencyChangedInvoker
=
new
ScriptInvoker<BaseTransceiver, int, int>
();
19
ref
ScriptInvoker<BaseTransceiver, float, float>
m_OnTansceiverRangeChangedInvoker
=
new
ScriptInvoker<BaseTransceiver, float, float>
();
20
ref
ScriptInvoker<bool>
m_OnPowerChanged
=
new
ScriptInvoker<bool>
();
21
ref
ScriptInvoker<string>
m_OnEncryptionKeyChanged
=
new
ScriptInvoker<string>
();
22
26
proto external
IEntity
GetOwner
();
28
proto external
int
TransceiversCount
();
30
proto external
BaseTransceiver
GetTransceiver
(
int
idx
);
34
proto external
void
SetEncryptionKey
(
string
key);
38
proto external
string
GetEncryptionKey
();
42
proto external
void
SetPower
(
bool
powered);
46
proto external
bool
IsPowered
();
47
/*
48
* \return true if radio is attached to the EditorManagerEntity.
49
*/
50
proto external
bool
IsEditorRadio
();
54
proto external
void
SetTransceiverFrequency
(
BaseTransceiver
transceiver,
int
freq);
55
56
// callbacks
57
59
event
protected
void
OnTansceiverFrequencyChanged
(
BaseTransceiver
transceiver,
int
oldFreq,
int
newFreq) {
m_OnTansceiverFrequencyChangedInvoker
.Invoke(transceiver, oldFreq, newFreq); };
61
event
protected
void
OnTansceiverRangeChanged
(
BaseTransceiver
transceiver,
float
oldRange,
float
newRange) {
m_OnTansceiverRangeChangedInvoker
.Invoke(transceiver, oldRange, newRange); };
63
event
protected
void
OnPowerChanged
(
bool
powered) {
m_OnPowerChanged
.Invoke(powered); };
65
event
protected
void
OnEncryptionKeyChanged
(
string
newKey) {
m_OnEncryptionKeyChanged
.Invoke(newKey); };
66
}
67
idx
int idx
Definition
AIControlComponentSerializer.c:13
BaseRadioComponentClass
Definition
BaseRadioComponent.c:13
BaseTransceiver
Definition
BaseTransceiver.c:13
GameComponentClass
Definition
GameComponentClass.c:8
GameComponent
Definition
GameComponent.c:13
IEntity
Definition
IEntity.c:13
GetOwner
IEntity GetOwner()
Owner entity of the fuel tank.
Definition
SCR_FuelNode.c:128
GetEncryptionKey
proto external string GetEncryptionKey()
m_OnEncryptionKeyChanged
ref ScriptInvoker< string > m_OnEncryptionKeyChanged
Definition
BaseRadioComponent.c:21
OnTansceiverRangeChanged
void OnTansceiverRangeChanged(BaseTransceiver transceiver, float oldRange, float newRange)
Event invoked on client and server when range is changed.
Definition
BaseRadioComponent.c:61
TransceiversCount
proto external int TransceiversCount()
m_OnTansceiverRangeChangedInvoker
ref ScriptInvoker< BaseTransceiver, float, float > m_OnTansceiverRangeChangedInvoker
Definition
BaseRadioComponent.c:19
SetPower
proto external void SetPower(bool powered)
IsEditorRadio
proto external bool IsEditorRadio()
OnPowerChanged
void OnPowerChanged(bool powered)
Event invoked on client and server when power is changed.
Definition
BaseRadioComponent.c:63
SetTransceiverFrequency
proto external void SetTransceiverFrequency(BaseTransceiver transceiver, int freq)
GetTransceiver
proto external BaseTransceiver GetTransceiver(int idx)
SetEncryptionKey
proto external void SetEncryptionKey(string key)
OnEncryptionKeyChanged
void OnEncryptionKeyChanged(string newKey)
Event invoked on client and server when encryption key is changed.
Definition
BaseRadioComponent.c:65
IsPowered
proto external bool IsPowered()
m_OnPowerChanged
ref ScriptInvoker< bool > m_OnPowerChanged
Definition
BaseRadioComponent.c:20
OnTansceiverFrequencyChanged
void OnTansceiverFrequencyChanged(BaseTransceiver transceiver, int oldFreq, int newFreq)
Event invoked on client and server when frequency is changed.
Definition
BaseRadioComponent.c:59
m_OnTansceiverFrequencyChangedInvoker
BaseRadioComponentClass m_OnTansceiverFrequencyChangedInvoker
ScriptInvoker
ScriptInvokerBase< func > ScriptInvoker
Definition
tools.c:134
scripts
Game
generated
Components
BaseRadioComponent.c
Generated by
1.17.0