Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SndBaseModule.c
Go to the documentation of this file.
1
/*
2
===========================================
3
Do not modify, this script is generated
4
===========================================
5
*/
6
11
15
class
SndBaseModule:
ScriptAndConfig
16
{
17
private
void
SndBaseModule();
18
19
proto external
protected
SndSystem
GetSndSystem
();
21
proto external
AudioHandle
SoundEvent
(
string
eventName);
23
proto external
void
SetSignalValueStr
(
string
signal,
float
value);
25
proto external
void
SetSignalValue
(
int
signal,
float
value);
27
proto external
int
GetSignalIndex
(
string
name);
29
proto external
void
SetTransformation
(
vector
transf[]);
31
proto external
void
UpdateTrigger
();
33
proto external
void
Terminate
(
AudioHandle
handle);
35
proto external
bool
IsFinishedPlaying
(
AudioHandle
handle);
37
proto external
void
SetSoundTransformation
(
AudioHandle
handle,
vector
transf[]);
39
proto external
void
SetVolume
(
AudioHandle
handle,
float
volume);
40
41
// callbacks
42
44
event
protected
void
OnInit
();
46
event
protected
void
OnCleanup
();
48
event
protected
void
OnUpdate
(
float
timeslice);
50
event
protected
void
OnDiag
(
float
timeslice);
51
}
52
AudioHandle
Definition
EnAudio.c:9
ScriptAndConfig
Definition
Types.c:124
SndBaseModule::GetSignalIndex
proto external int GetSignalIndex(string name)
Returns the index of the given signal name or -1 if not found.
SndBaseModule::SetSignalValueStr
proto external void SetSignalValueStr(string signal, float value)
Sets signal value by name.
SndBaseModule::IsFinishedPlaying
proto external bool IsFinishedPlaying(AudioHandle handle)
Check if sound associated with given handle has finished playing.
SndBaseModule::OnInit
void OnInit()
Called after owner system is initialized.
SndBaseModule::SoundEvent
proto external AudioHandle SoundEvent(string eventName)
Sound event.
SndBaseModule::SetSoundTransformation
proto external void SetSoundTransformation(AudioHandle handle, vector transf[])
Sets transformation of the sound associated with the given handle.
SndBaseModule::OnDiag
void OnDiag(float timeslice)
Diag for the module.
SndBaseModule::SetVolume
proto external void SetVolume(AudioHandle handle, float volume)
Sets the volume for a given sound.
SndBaseModule::OnUpdate
void OnUpdate(float timeslice)
Called after parent system is ticked.
SndBaseModule::GetSndSystem
SndSystem GetSndSystem()
SndBaseModule::OnCleanup
void OnCleanup()
Called before parent system is cleaned up.
SndBaseModule::UpdateTrigger
proto external void UpdateTrigger()
Update playback of triggered sounds.
SndBaseModule::SetTransformation
proto external void SetTransformation(vector transf[])
Sets transformation of all sounds played by this component.
SndBaseModule::Terminate
proto external void Terminate(AudioHandle handle)
Terminate the sound associated with the given handle.
SndBaseModule::SetSignalValue
proto external void SetSignalValue(int signal, float value)
Sets signal value by index returned by GetSignalIndex(string name).
SndSystem
Definition
SndSystem.c:13
vector
Definition
vector.c:13
scripts
GameLib
generated
Sound
SndBaseModule.c
Generated by
1.17.0