Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
SpookyEventBase Class Reference
Inheritance diagram for SpookyEventBase:
SpookyEventSteps SpookyEventWind

Protected Member Functions

void SpookyEventBase ()
bool CanDo (PlayerBase player, TStringVectorMap surfaceTypes)
bool CanPerform (PlayerBase player, float currentTime, TStringVectorMap surfaceTypes)
void Do (PlayerBase player)
vector GetMatchingSurfacePos (TStringArray surfaces, TStringVectorMap gatheredSurfaces)
vector GetSoundPos (PlayerBase player)
bool HasSurfaces ()
void Init ()
void Perform (PlayerBase player, float currentTime, TStringVectorMap gatheredSurfaces)
void SetCoolDown (float secs)

Protected Attributes

int m_Cooldown
vector m_MatchingSurfacePos
float m_PerformedTimestamp
string m_SoundSet
ref TStringArray m_Surfaces

Detailed Description

Definition at line 86 of file spookyareamisc.c.

Constructor & Destructor Documentation

◆ SpookyEventBase()

void SpookyEventBase ( )
inlineprotected

Definition at line 96 of file spookyareamisc.c.

References Init().

Member Function Documentation

◆ CanDo()

bool CanDo ( PlayerBase player,
TStringVectorMap surfaceTypes )
inlineprotected

Definition at line 129 of file spookyareamisc.c.

Referenced by CanPerform().

◆ CanPerform()

bool CanPerform ( PlayerBase player,
float currentTime,
TStringVectorMap surfaceTypes )
inlineprotected

◆ Do()

void Do ( PlayerBase player)
protected

Referenced by Perform().

◆ GetMatchingSurfacePos()

vector GetMatchingSurfacePos ( TStringArray surfaces,
TStringVectorMap gatheredSurfaces )
inlineprotected

Definition at line 104 of file spookyareamisc.c.

References string::Contains(), and vector::Zero.

Referenced by CanPerform().

◆ GetSoundPos()

vector GetSoundPos ( PlayerBase player)
inlineprotected

◆ HasSurfaces()

bool HasSurfaces ( )
inlineprotected

Definition at line 124 of file spookyareamisc.c.

References m_Surfaces.

Referenced by CanPerform(), and GetSoundPos().

◆ Init()

void Init ( )
protected

Referenced by SpookyEventBase().

◆ Perform()

void Perform ( PlayerBase player,
float currentTime,
TStringVectorMap gatheredSurfaces )
inlineprotected

◆ SetCoolDown()

void SetCoolDown ( float secs)
inlineprotected

Definition at line 119 of file spookyareamisc.c.

References m_Cooldown.

Referenced by SpookyEventSteps::Init(), and SpookyEventWind::Init().

Field Documentation

◆ m_Cooldown

int m_Cooldown
protected

Definition at line 90 of file spookyareamisc.c.

Referenced by CanPerform(), and SetCoolDown().

◆ m_MatchingSurfacePos

vector m_MatchingSurfacePos
protected

Definition at line 94 of file spookyareamisc.c.

Referenced by CanPerform(), and GetSoundPos().

◆ m_PerformedTimestamp

float m_PerformedTimestamp
protected

Definition at line 89 of file spookyareamisc.c.

Referenced by CanPerform(), and Perform().

◆ m_SoundSet

string m_SoundSet
protected

Definition at line 92 of file spookyareamisc.c.

Referenced by SpookyEventSteps::Init(), SpookyEventWind::Init(), and Perform().

◆ m_Surfaces

ref TStringArray m_Surfaces
protected

Definition at line 93 of file spookyareamisc.c.

Referenced by CanPerform(), HasSurfaces(), and SpookyEventSteps::Init().


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