PC Stable Documentation
|
|
Private Member Functions | |
void | SpookyEventBase () |
protected void | Init () |
protected vector | GetMatchingSurfacePos (TStringArray surfaces, TStringVectorMap gatheredSurfaces) |
protected void | SetCoolDown (float secs) |
protected bool | HasSurfaces () |
protected bool | CanDo (PlayerBase player, TStringVectorMap surfaceTypes) |
protected void | Do (PlayerBase player) |
bool | CanPerform (PlayerBase player, float currentTime, TStringVectorMap surfaceTypes) |
void | Perform (PlayerBase player, float currentTime, TStringVectorMap gatheredSurfaces) |
protected vector | GetSoundPos (PlayerBase player) |
Private Attributes | |
protected float | m_PerformedTimestamp |
protected int | m_Cooldown |
protected string | m_SoundSet |
protected ref TStringArray | m_Surfaces |
protected vector | m_MatchingSurfacePos |
|
inlineprivate |
References Init().
|
inlineprivate |
Referenced by CanPerform().
|
inlineprivate |
References CanDo(), GetMatchingSurfacePos(), HasSurfaces(), m_Cooldown, m_MatchingSurfacePos, m_PerformedTimestamp, m_Surfaces, and vector::Zero.
|
private |
Referenced by Perform().
|
inlineprivate |
References string::Contains(), and vector::Zero.
Referenced by CanPerform().
|
inlineprivate |
References HasSurfaces(), m_MatchingSurfacePos, vector::RandomDir2D(), and Math::RandomFloatInclusive().
Referenced by Perform().
|
inlineprivate |
References m_Surfaces.
Referenced by CanPerform(), and GetSoundPos().
|
private |
Referenced by SpookyEventBase().
|
inlineprivate |
References Do(), Debug::DrawSphere(), DiagMenu::GetBool(), GetSoundPos(), m_PerformedTimestamp, m_SoundSet, SEffectManager::PlaySound(), Print(), EffectSound::SetAutodestroy(), and Colors::YELLOW.
Referenced by SelectEvent().
|
inlineprivate |
References m_Cooldown.
Referenced by SpookyEventWind::Init(), and SpookyEventSteps::Init().
|
private |
Referenced by CanPerform(), and SetCoolDown().
|
private |
Referenced by CanPerform(), and GetSoundPos().
|
private |
Referenced by CanPerform(), and Perform().
|
private |
Referenced by SpookyEventWind::Init(), SpookyEventSteps::Init(), and Perform().
|
private |
Referenced by CanPerform(), HasSurfaces(), and SpookyEventSteps::Init().