PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
GeyserTrigger Class Reference

Private Member Functions

void GeyserTrigger ()
 
override void DeferredInit ()
 
override string GetDisplayName ()
 
override void EEDelete (EntityAI parent)
 
override void OnEnterServerEvent (TriggerInsider insider)
 
override void OnLeaveServerEvent (TriggerInsider insider)
 
override void OnEnterClientEvent (TriggerInsider insider)
 
override void OnLeaveClientEvent (TriggerInsider insider)
 
override void OnVariablesSynchronized ()
 
protected void UpdateGeyserState ()
 
protected void RandomizeMouthPos ()
 
protected vector GetAdjustedPosition (float height=0)
 
void StopEffects ()
 
void AddGeyserState (EGeyserState state)
 
void RemoveGeyserState (EGeyserState state)
 
bool CheckGeyserState (EGeyserState state)
 
EGeyserState GetGeyserState ()
 
bool IsSubmerged ()
 

Private Attributes

const float MOUTH_ADJUST_RADIUS = 0.2
 
const string SOUND_BUBBLING = "Geyser_bubbling_loop_SoundSet"
 
const string SOUND_ERUPTION = "Geyser_eruption_loop_SoundSet"
 
const string SOUND_ERUPTION_START = "Geyser_eruption_start_SoundSet"
 
const string SOUND_ERUPTION_TALL = "Geyser_eruption_tall_loop_SoundSet"
 
const string SOUND_ERUPTION_TALL_START = "Geyser_eruption_tall_start_SoundSet"
 
const string SOUND_ERUPTION_TALL_END = "Geyser_eruption_tall_splash_SoundSet"
 
protected bool m_bIsDormant
 
protected bool m_bIsEruptingSoon
 
protected bool m_bIsErupting
 
protected bool m_bIsEruptingTall
 
protected float m_AdjustedX
 
protected float m_AdjustedY
 
protected vector m_DefaultPosition
 
protected EGeyserState m_GeyserState = EGeyserState.DORMANT
 
protected ParticleSource m_GeyserBubblesParticle
 
protected ParticleSource m_GeyserParticle
 
protected ParticleSource m_GeyserTallParticle
 
protected ParticleSource m_GeyserSplashParticle
 
protected EffectSound m_SoundBubbling
 
protected EffectSound m_SoundEruption
 
protected EffectSound m_SoundEruptionStart
 
protected EffectSound m_SoundEruptionSecondary
 
protected EffectSound m_SoundEruptionSecondaryStart
 
protected EffectSound m_SoundEruptionSecondaryEnd
 

Constructor & Destructor Documentation

◆ GeyserTrigger()

void GeyserTrigger ( )
inlineprivate

Member Function Documentation

◆ AddGeyserState()

void AddGeyserState ( EGeyserState  state)
inlineprivate

References m_GeyserState.

Referenced by TickState().

◆ CheckGeyserState()

bool CheckGeyserState ( EGeyserState  state)
inlineprivate

References m_GeyserState.

Referenced by TickState(), and UpdateGeyserState().

◆ DeferredInit()

override void DeferredInit ( )
inlineprivate

◆ EEDelete()

override void EEDelete ( EntityAI  parent)
inlineprivate

References StopEffects().

◆ GetAdjustedPosition()

protected vector GetAdjustedPosition ( float  height = 0)
inlineprivate

References GetGame(), GetPosition, and CGame::SurfaceRoadY().

Referenced by DeferredInit().

◆ GetDisplayName()

override string GetDisplayName ( )
inlineprivate

◆ GetGeyserState()

EGeyserState GetGeyserState ( )
inlineprivate

References m_GeyserState.

◆ IsSubmerged()

bool IsSubmerged ( )
inlineprivate

Referenced by DeferredInit().

◆ OnEnterClientEvent()

override void OnEnterClientEvent ( TriggerInsider  insider)
inlineprivate

◆ OnEnterServerEvent()

override void OnEnterServerEvent ( TriggerInsider  insider)
inlineprivate

◆ OnLeaveClientEvent()

override void OnLeaveClientEvent ( TriggerInsider  insider)
inlineprivate

◆ OnLeaveServerEvent()

override void OnLeaveServerEvent ( TriggerInsider  insider)
inlineprivate

◆ OnVariablesSynchronized()

override void OnVariablesSynchronized ( )
inlineprivate

◆ RandomizeMouthPos()

protected void RandomizeMouthPos ( )
inlineprivate

◆ RemoveGeyserState()

void RemoveGeyserState ( EGeyserState  state)
inlineprivate

References m_GeyserState.

Referenced by TickState().

◆ StopEffects()

◆ UpdateGeyserState()

Field Documentation

◆ m_AdjustedX

protected float m_AdjustedX
private

Referenced by RandomizeMouthPos().

◆ m_AdjustedY

protected float m_AdjustedY
private

Referenced by RandomizeMouthPos().

◆ m_bIsDormant

protected bool m_bIsDormant
private

Referenced by UpdateGeyserState().

◆ m_bIsErupting

protected bool m_bIsErupting
private

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_bIsEruptingSoon

protected bool m_bIsEruptingSoon
private

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_bIsEruptingTall

protected bool m_bIsEruptingTall
private

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_DefaultPosition

protected vector m_DefaultPosition
private

◆ m_GeyserBubblesParticle

protected ParticleSource m_GeyserBubblesParticle
private

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_GeyserParticle

protected ParticleSource m_GeyserParticle
private

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_GeyserSplashParticle

protected ParticleSource m_GeyserSplashParticle
private

Referenced by UpdateGeyserState().

◆ m_GeyserState

◆ m_GeyserTallParticle

protected ParticleSource m_GeyserTallParticle
private

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_SoundBubbling

protected EffectSound m_SoundBubbling
private

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_SoundEruption

protected EffectSound m_SoundEruption
private

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_SoundEruptionSecondary

protected EffectSound m_SoundEruptionSecondary
private

Referenced by StopEffects(), and UpdateGeyserState().

◆ m_SoundEruptionSecondaryEnd

protected EffectSound m_SoundEruptionSecondaryEnd
private

Referenced by UpdateGeyserState().

◆ m_SoundEruptionSecondaryStart

protected EffectSound m_SoundEruptionSecondaryStart
private

Referenced by UpdateGeyserState().

◆ m_SoundEruptionStart

protected EffectSound m_SoundEruptionStart
private

Referenced by UpdateGeyserState().

◆ MOUTH_ADJUST_RADIUS

const float MOUTH_ADJUST_RADIUS = 0.2
private

Referenced by RandomizeMouthPos().

◆ SOUND_BUBBLING

const string SOUND_BUBBLING = "Geyser_bubbling_loop_SoundSet"
private

Referenced by UpdateGeyserState().

◆ SOUND_ERUPTION

const string SOUND_ERUPTION = "Geyser_eruption_loop_SoundSet"
private

Referenced by UpdateGeyserState().

◆ SOUND_ERUPTION_START

const string SOUND_ERUPTION_START = "Geyser_eruption_start_SoundSet"
private

Referenced by UpdateGeyserState().

◆ SOUND_ERUPTION_TALL

const string SOUND_ERUPTION_TALL = "Geyser_eruption_tall_loop_SoundSet"
private

Referenced by UpdateGeyserState().

◆ SOUND_ERUPTION_TALL_END

const string SOUND_ERUPTION_TALL_END = "Geyser_eruption_tall_splash_SoundSet"
private

Referenced by UpdateGeyserState().

◆ SOUND_ERUPTION_TALL_START

const string SOUND_ERUPTION_TALL_START = "Geyser_eruption_tall_start_SoundSet"
private

Referenced by UpdateGeyserState().


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