DayZ Scripts
PC Stable v1.26.159040
 
Loading...
Searching...
No Matches
AbstractWave Class Reference

Private Member Functions

private void InitEvents ()
 
void AbstractWave ()
 
proto void SetUserData (Managed inst)
 
proto Managed GetUserData ()
 
proto void Play ()
 
void PlayWithOffset (float offset)
 
proto void Stop ()
 
proto void Restart ()
 
proto void SetStartOffset (float offset)
 
proto float GetLength ()
 WARNING: Blocking! Waits for header to load.
 
proto float GetCurrPosition ()
 Current position in percentage of total length.
 
proto void Loop (bool setLoop)
 
proto float GetVolume ()
 
proto void SetVolume (float value)
 
proto void SetVolumeRelative (float value)
 
proto void SetFrequency (float value)
 
proto float GetFrequency ()
 
proto void SetPosition (vector position, vector velocity="0 0 0")
 
proto void SetFadeInFactor (float volume)
 
proto void SetFadeOutFactor (float volume)
 
proto void SetDoppler (bool setDoppler)
 
proto void Skip (float timeSec)
 
proto bool IsHeaderLoaded ()
 
AbstractWaveEvents GetEvents ()
 
void OnPlay ()
 
void OnStop ()
 
void OnLoad ()
 
void OnHeaderLoad ()
 
void OnEnd ()
 

Constructor & Destructor Documentation

◆ AbstractWave()

void AbstractWave ( )
inlineprivate

References InitEvents().

Member Function Documentation

◆ GetCurrPosition()

proto float GetCurrPosition ( )
private

Current position in percentage of total length.

◆ GetEvents()

◆ GetFrequency()

proto float GetFrequency ( )
private

◆ GetLength()

proto float GetLength ( )
private

WARNING: Blocking! Waits for header to load.

Referenced by OnTick(), ManBase::OnVoiceEventPlayback(), and EffectSound::ValidateSoundWave().

◆ GetUserData()

proto Managed GetUserData ( )
private

Referenced by GetEvents(), and Play().

◆ GetVolume()

proto float GetVolume ( )
private

◆ InitEvents()

private void InitEvents ( )
inlineprivate

References SetUserData().

Referenced by AbstractWave().

◆ IsHeaderLoaded()

proto bool IsHeaderLoaded ( )
private

◆ Loop()

proto void Loop ( bool  setLoop)
private

◆ OnEnd()

void OnEnd ( )
inlineprivate

References GetEvents().

◆ OnHeaderLoad()

void OnHeaderLoad ( )
inlineprivate

References GetEvents().

◆ OnLoad()

void OnLoad ( )
inlineprivate

References GetEvents().

◆ OnPlay()

void OnPlay ( )
inlineprivate

References GetEvents().

◆ OnStop()

void OnStop ( )
inlineprivate

References GetEvents().

◆ Play()

proto void Play ( )
private

◆ PlayWithOffset()

void PlayWithOffset ( float  offset)
inlineprivate

References Play(), and SetStartOffset().

◆ Restart()

proto void Restart ( )
private

◆ SetDoppler()

proto void SetDoppler ( bool  setDoppler)
private

◆ SetFadeInFactor()

proto void SetFadeInFactor ( float  volume)
private

◆ SetFadeOutFactor()

proto void SetFadeOutFactor ( float  volume)
private

Referenced by ProcessFadeOut().

◆ SetFrequency()

proto void SetFrequency ( float  value)
private

◆ SetPosition()

proto void SetPosition ( vector  position,
vector  velocity = "0 0 0" 
)
private

◆ SetStartOffset()

proto void SetStartOffset ( float  offset)
private

◆ SetUserData()

proto void SetUserData ( Managed  inst)
private

Referenced by InitEvents().

◆ SetVolume()

proto void SetVolume ( float  value)
private

◆ SetVolumeRelative()

◆ Skip()

proto void Skip ( float  timeSec)
private

◆ Stop()


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