Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
AudioSystem.c
Go to the documentation of this file.
1
/*
2
===========================================
3
Do not modify, this script is generated
4
===========================================
5
*/
6
11
12
sealed
class
AudioSystem
13
{
18
19
// Mastering voices categories.
20
static
const
int
SFX;
21
static
const
int
Music;
22
static
const
int
VoiceChat;
23
static
const
int
Dialog;
24
static
const
int
UI;
25
static
const
int
BV_None;
26
static
const
int
BV_Sphere;
27
static
const
int
BV_Box;
28
static
const
int
BV_Cylinder;
30
31
private
void
AudioSystem();
32
private
void
~AudioSystem();
33
35
static
proto
AudioHandle
PlaySound(
string
resourceName
);
37
static
proto
bool
PlayEventInitialize(
string
resourceName
);
38
static
proto
AudioHandle
PlayEvent(
string
resourceName
,
string
eventName,
vector
transf[], array<string> names = null, array<float> values = null);
39
static
proto
bool
IsSoundPlayed(
AudioHandle
handle);
40
static
proto
void
TerminateSound(
AudioHandle
handle);
42
static
proto
void
TerminateSoundFadeOut(
AudioHandle
handle,
bool
fade,
float
fadeTime);
44
static
proto
bool
SetSoundTransformation(
AudioHandle
handle,
vector
transf[]);
46
static
proto
float
IsAudible(
string
resourceName
,
string
eventName,
vector
position
);
48
static
proto
float
GetDistance(
vector
position
);
49
/*
50
Allow update bounding volume for existing audio source.
51
BV_Sphere : param0 = radius
52
BV_Box : param0 = x, param1 = y, param2 = z
53
BV_Cylinde : param0 = radius, param1 = height
54
*/
55
static
proto
bool
SetBoundingVolumeParams(
AudioHandle
handle,
int
volumeType,
float
params0,
float
param1
,
float
param2
);
57
static
proto
void
Pause
(
int
mastersMask);
59
static
proto
void
Resume(
int
mastersMask);
60
//------------------------------------------------------------------------------------------------
61
static
proto
float
OutputVolume();
62
//------------------------------------------------------------------------------------------------
63
static
proto
bool
SetMasterVolume(
int
id
,
float
volume);
64
static
proto
float
GetMasterVolume(
int
id
);
66
static
proto
bool
CreateOutputState(
string
resourceName
);
68
static
proto
int
GetOutputStateIdx(
string
resourceName
);
70
static
proto
int
GetOutputStateCount();
72
static
proto
int
GetOutpuStateSignalIdx(
int
outStateIdx,
string
signal);
74
static
proto
void
SetOutputStateSignal(
int
outStateIdx,
int
idx
,
float
value);
76
static
proto
int
GetVariableIDByName(
string
varName,
string
resourceName
);
78
static
proto
string
GetVariableNameByID(
int
ID
,
string
resourceName
);
80
static
proto
float
GetVariableValue(
string
varName,
string
resourceName
);
82
static
proto
float
GetVariableByID(
int
ID
,
string
resourceName
);
84
static
proto
bool
SetVariableByName(
string
varName,
float
value,
string
resourceName
);
86
static
proto
bool
SetVariableByID(
int
ID
,
float
value,
string
resourceName
);
88
static
proto
void
ResetVariables();
89
}
90
idx
int idx
Definition
AIControlComponentSerializer.c:13
resourceName
ResourceName resourceName
Definition
SCR_AIGroup.c:66
position
vector position
Definition
SCR_DestructibleTreeV2.c:30
AudioHandle
Definition
EnAudio.c:9
vector
Definition
vector.c:13
Pause
proto external void Pause()
param2
T2 param2
Definition
tuple.c:92
param1
Tuple param1
ID
@ ID
Ordered by Group application ID.
Definition
EGroupApplicationCatalogueOrderBy.c:15
scripts
Core
generated
Audio
AudioSystem.c
Generated by
1.17.0