Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SndComponent Class Reference
Inheritance diagram for SndComponent:
GenericComponent GenericComponent SimpleSoundComponent SimpleSoundComponent SoundComponent SoundComponent SoundComponent SoundComponent CharacterSoundComponent CharacterSoundComponent CommunicationSoundComponent CommunicationSoundComponent SCR_BellSoundComponent SCR_BuildingSoundComponent VehicleSoundComponent VehicleSoundComponent CharacterSoundComponent CharacterSoundComponent CommunicationSoundComponent CommunicationSoundComponent SCR_BellSoundComponent SCR_BuildingSoundComponent VehicleSoundComponent VehicleSoundComponent CharacterSoundComponent CharacterSoundComponent CommunicationSoundComponent CommunicationSoundComponent SCR_BellSoundComponent SCR_BuildingSoundComponent VehicleSoundComponent VehicleSoundComponent CharacterSoundComponent CharacterSoundComponent CommunicationSoundComponent CommunicationSoundComponent SCR_BellSoundComponent SCR_BuildingSoundComponent VehicleSoundComponent VehicleSoundComponent

Protected Member Functions

void SetCallbackMask (SndComponentCallbacks mask)
void SetForceUpdate (bool forceUpdate)
void SetDisableUpdate (bool forceUpdate)
proto external IEntity GetOwner ()
proto external AudioHandle PlayStr (string name)
proto external int GetEventIndex (string name)
proto external int SoundEventBegin (string eventName)
proto external int SoundEventEnd (int eventBeginId)
proto external int GetSignalIndex (string name)
proto external void SetSignalValue (int signal, float value)
proto external void SetSignalValueStr (string signal, float value)
proto external void SetTransformation (vector transf[])
proto external void SetSoundTransformation (AudioHandle handle, vector transf[])
proto external void UpdateTrigger ()
proto external void Terminate (AudioHandle handle)
proto external void TerminateAll ()
proto external bool IsPlaying ()
proto external bool IsFinishedPlaying (AudioHandle handle)
proto external bool IsHandleValid (AudioHandle handle)
proto external void GetSignalNames (out array< string > signalNames)
void Update (float dt)
void OnUpdateBegin ()
void OnUpdateEnd ()
void OnInit (IEntity owner)
void OnPostInit (IEntity owner)
void OnDelete (IEntity owner)
void SetCallbackMask (SndComponentCallbacks mask)
void SetForceUpdate (bool forceUpdate)
void SetDisableUpdate (bool forceUpdate)
proto external IEntity GetOwner ()
proto external AudioHandle PlayStr (string name)
proto external int GetEventIndex (string name)
proto external int SoundEventBegin (string eventName)
proto external int SoundEventEnd (int eventBeginId)
proto external int GetSignalIndex (string name)
proto external void SetSignalValue (int signal, float value)
proto external void SetSignalValueStr (string signal, float value)
proto external void SetTransformation (vector transf[])
proto external void SetSoundTransformation (AudioHandle handle, vector transf[])
proto external void UpdateTrigger ()
proto external void Terminate (AudioHandle handle)
proto external void TerminateAll ()
proto external bool IsPlaying ()
proto external bool IsFinishedPlaying (AudioHandle handle)
proto external bool IsHandleValid (AudioHandle handle)
proto external void GetSignalNames (out array< string > signalNames)
void Update (float dt)
void OnUpdateBegin ()
void OnUpdateEnd ()
void OnInit (IEntity owner)
void OnPostInit (IEntity owner)
void OnDelete (IEntity owner)

Detailed Description

Definition at line 12 of file SndComponent.c.

Member Function Documentation

◆ GetEventIndex() [1/2]

proto external int SndComponent::GetEventIndex ( string name)
protected

◆ GetEventIndex() [2/2]

proto external int SndComponent::GetEventIndex ( string name)
protected

◆ GetOwner() [1/2]

proto external IEntity SndComponent::GetOwner ( )
protected

◆ GetOwner() [2/2]

proto external IEntity SndComponent::GetOwner ( )
protected

◆ GetSignalIndex() [1/2]

proto external int SndComponent::GetSignalIndex ( string name)
protected

Returns the index of the given signal name or -1 if not found.

◆ GetSignalIndex() [2/2]

proto external int SndComponent::GetSignalIndex ( string name)
protected

Returns the index of the given signal name or -1 if not found.

◆ GetSignalNames() [1/2]

proto external void SndComponent::GetSignalNames ( out array< string > signalNames)
protected

◆ GetSignalNames() [2/2]

proto external void SndComponent::GetSignalNames ( out array< string > signalNames)
protected

◆ IsFinishedPlaying() [1/2]

proto external bool SndComponent::IsFinishedPlaying ( AudioHandle handle)
protected

◆ IsFinishedPlaying() [2/2]

proto external bool SndComponent::IsFinishedPlaying ( AudioHandle handle)
protected

◆ IsHandleValid() [1/2]

proto external bool SndComponent::IsHandleValid ( AudioHandle handle)
protected

◆ IsHandleValid() [2/2]

proto external bool SndComponent::IsHandleValid ( AudioHandle handle)
protected

◆ IsPlaying() [1/2]

proto external bool SndComponent::IsPlaying ( )
protected

◆ IsPlaying() [2/2]

proto external bool SndComponent::IsPlaying ( )
protected

◆ OnDelete() [1/2]

void SndComponent::OnDelete ( IEntity owner)
protected

Requires SndComponentCallbacks::OnDelete to be set.

◆ OnDelete() [2/2]

void SndComponent::OnDelete ( IEntity owner)
protected

Requires SndComponentCallbacks::OnDelete to be set.

◆ OnInit() [1/2]

void SndComponent::OnInit ( IEntity owner)
protected

Requires SndComponentCallbacks::OnInit to be set.

◆ OnInit() [2/2]

void SndComponent::OnInit ( IEntity owner)
protected

Requires SndComponentCallbacks::OnInit to be set.

◆ OnPostInit() [1/2]

void SndComponent::OnPostInit ( IEntity owner)
protected

Requires SndComponentCallbacks::OnPostInit to be set.

◆ OnPostInit() [2/2]

void SndComponent::OnPostInit ( IEntity owner)
protected

Requires SndComponentCallbacks::OnPostInit to be set.

◆ OnUpdateBegin() [1/2]

void SndComponent::OnUpdateBegin ( )
protected

Called when the component enters an audible range.

◆ OnUpdateBegin() [2/2]

void SndComponent::OnUpdateBegin ( )
protected

Called when the component enters an audible range.

◆ OnUpdateEnd() [1/2]

void SndComponent::OnUpdateEnd ( )
protected

Called when the component gets out of audible range.

◆ OnUpdateEnd() [2/2]

void SndComponent::OnUpdateEnd ( )
protected

Called when the component gets out of audible range.

◆ PlayStr() [1/2]

proto external AudioHandle SndComponent::PlayStr ( string name)
protected

◆ PlayStr() [2/2]

proto external AudioHandle SndComponent::PlayStr ( string name)
protected

◆ SetCallbackMask() [1/2]

void SndComponent::SetCallbackMask ( SndComponentCallbacks mask)
protected

Enables scripted component callbacks.

◆ SetCallbackMask() [2/2]

void SndComponent::SetCallbackMask ( SndComponentCallbacks mask)
protected

Enables scripted component callbacks.

◆ SetDisableUpdate() [1/2]

void SndComponent::SetDisableUpdate ( bool forceUpdate)
protected

When set to TRUE, Update is not called, but component stays registered in SndSystem.

◆ SetDisableUpdate() [2/2]

void SndComponent::SetDisableUpdate ( bool forceUpdate)
protected

When set to TRUE, Update is not called, but component stays registered in SndSystem.

◆ SetForceUpdate() [1/2]

void SndComponent::SetForceUpdate ( bool forceUpdate)
protected

When set to TRUE, Update is called regardless of audibility and other conditions.

◆ SetForceUpdate() [2/2]

void SndComponent::SetForceUpdate ( bool forceUpdate)
protected

When set to TRUE, Update is called regardless of audibility and other conditions.

◆ SetSignalValue() [1/2]

proto external void SndComponent::SetSignalValue ( int signal,
float value )
protected

Sets signal value by index returned by GetSignalIndex(string name).

◆ SetSignalValue() [2/2]

proto external void SndComponent::SetSignalValue ( int signal,
float value )
protected

Sets signal value by index returned by GetSignalIndex(string name).

◆ SetSignalValueStr() [1/2]

proto external void SndComponent::SetSignalValueStr ( string signal,
float value )
protected

◆ SetSignalValueStr() [2/2]

proto external void SndComponent::SetSignalValueStr ( string signal,
float value )
protected

◆ SetSoundTransformation() [1/2]

proto external void SndComponent::SetSoundTransformation ( AudioHandle handle,
vector transf[] )
protected

◆ SetSoundTransformation() [2/2]

proto external void SndComponent::SetSoundTransformation ( AudioHandle handle,
vector transf[] )
protected

◆ SetTransformation() [1/2]

proto external void SndComponent::SetTransformation ( vector transf[])
protected

◆ SetTransformation() [2/2]

proto external void SndComponent::SetTransformation ( vector transf[])
protected

◆ SoundEventBegin() [1/2]

proto external int SndComponent::SoundEventBegin ( string eventName)
protected

◆ SoundEventBegin() [2/2]

proto external int SndComponent::SoundEventBegin ( string eventName)
protected

◆ SoundEventEnd() [1/2]

proto external int SndComponent::SoundEventEnd ( int eventBeginId)
protected

◆ SoundEventEnd() [2/2]

proto external int SndComponent::SoundEventEnd ( int eventBeginId)
protected

◆ Terminate() [1/2]

proto external void SndComponent::Terminate ( AudioHandle handle)
protected

◆ Terminate() [2/2]

proto external void SndComponent::Terminate ( AudioHandle handle)
protected

◆ TerminateAll() [1/2]

proto external void SndComponent::TerminateAll ( )
protected

◆ TerminateAll() [2/2]

proto external void SndComponent::TerminateAll ( )
protected

◆ Update() [1/2]

void SndComponent::Update ( float dt)
protected

Called when the component is audible. Audibility is determined as max from all events in acps.

◆ Update() [2/2]

void SndComponent::Update ( float dt)
protected

Called when the component is audible. Audibility is determined as max from all events in acps.

◆ UpdateTrigger() [1/2]

proto external void SndComponent::UpdateTrigger ( )
protected

◆ UpdateTrigger() [2/2]

proto external void SndComponent::UpdateTrigger ( )
protected

The documentation for this class was generated from the following file: