Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_InteriorRequestCallback.c
Go to the documentation of this file.
1
class
SCR_InteriorRequestCallback
:
InteriorRequestCallback
2
{
3
protected
ref
SCR_AudioSource
m_AudioSource;
4
5
//------------------------------------------------------------------------------------------------
6
override
void
OnCompleted(
float
interior,
float
roomSize)
7
{
8
if
(!
m_AudioSource
.m_bTerminated)
9
{
10
m_AudioSource
.SetSignalValue(
SCR_AudioSource
.INTERIOR_SIGNAL_NAME, interior);
11
m_AudioSource
.SetSignalValue(
SCR_AudioSource
.ROOM_SIZE_SIGNAL_NAME, roomSize);
12
m_AudioSource
.Play();
13
}
14
15
m_AudioSource
.m_InteriorRequestCallback =
null
;
16
m_AudioSource
=
null
;
17
}
18
19
//------------------------------------------------------------------------------------------------
20
void
SCR_InteriorRequestCallback
(
SCR_AudioSource
audioSource)
21
{
22
m_AudioSource
= audioSource;
23
}
24
}
SCR_AudioSource
Definition:
SCR_AudioSource.c:1
m_AudioSource
SCR_AudioSource m_AudioSource
Definition:
SCR_BuildingDestructionManagerComponent.c:28
SCR_InteriorRequestCallback
Definition:
SCR_InteriorRequestCallback.c:1
InteriorRequestCallback
Definition:
InteriorRequestCallback.c:7
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Entities
SoundManager
SCR_InteriorRequestCallback.c
Generated by
1.8.17