Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
pluginpresencenotifier.c File Reference

Go to the source code of this file.

Classes

class  PresenceNotifierNoiseEvents
 

Enumerations

enum  EPresenceNotifierNoiseEventType { LAND_LIGHT , LAND_HEAVY }
 

Functions

void PresenceNotifierNoiseEvent (float pValue, float pLength)
 
float GetTimerLength ()
 
int GetValue ()
 
void PluginPresenceNotifier ()
 
void Init (PlayerBase player)
 
void EnableDebug (bool pEnabled)
 
void ShowCoefsDbg (bool pEnabled)
 
int GetNoisePresence ()
 returns actual noise presence of player
 
int GetVisualPresence ()
 returns actual visibility presence of player
 
void ProcessEvent (EPresenceNotifierNoiseEventType pEventType)
 processing of external one-time events (land, fire, etc.)
 
int ProcessVisualComponents ()
 
int ProcessNoiseComponents ()
 
float GetMovementSpeedVisualCoef ()
 Visibility.
 
float GetMovementStanceVisualCoef ()
 
int GetMovementSpeedNoiseComponent ()
 
int GetBootsNoiseComponent ()
 
int GetSurfaceNoiseComponent ()
 DEPRECATED.
 
int GetExternalNoiseEventsComponent ()
 DEPRECATED.
 

Variables

enum EPresenceNotifierNoiseEventType m_TimerLength
 
int m_Value
 
class PresenceNotifierNoiseEvents windowPosX = 0
 dbgUI settings
 
const int windowPosY = 10
 
const int mainPanelSizeX = 200
 
const int mainPanelSizeY = 1
 
const int margin = 10
 
const int NOISE_LEVEL_MIN = 0
 noise limits
 
const int NOISE_LEVEL_MAX = 5
 
const int SURFACE_NOISE_LVL0 = 0
 noise component from surfaces
 
const int SURFACE_NOISE_LVL1 = 1
 
const int SURFACE_NOISE_LVL2 = 2
 
const float SURFACE_LVL2_THRESHOLD = 1.0
 
const float SURFACE_LVL1_THRESHOLD = 0.5
 
const int LAND_NOISE_LVL1 = 2
 land noise
 
const int LAND_NOISE_LVL2 = 3
 
PlayerBase m_pPlayer
 
Weather m_Weather
 
ref PresenceNotifierNoiseEvents m_PresenceNotifierNoiseEvents
 

Enumeration Type Documentation

◆ EPresenceNotifierNoiseEventType

Enumerator
LAND_LIGHT 
LAND_HEAVY 

Definition at line 1 of file pluginpresencenotifier.c.

Function Documentation

◆ EnableDebug()

void EnableDebug ( bool pEnabled)
protected

Definition at line 120 of file pluginpresencenotifier.c.

◆ GetBootsNoiseComponent()

int GetBootsNoiseComponent ( )
protected

noise component of presence based on player's shoes DEPRECATED

◆ GetExternalNoiseEventsComponent()

int GetExternalNoiseEventsComponent ( )
protected

DEPRECATED.

◆ GetMovementSpeedNoiseComponent()

int GetMovementSpeedNoiseComponent ( )
protected

Noise related noise component of presence based on player's speed DEPRECATED

◆ GetMovementSpeedVisualCoef()

float GetMovementSpeedVisualCoef ( )
protected

Visibility.

Definition at line 234 of file pluginpresencenotifier.c.

◆ GetMovementStanceVisualCoef()

float GetMovementStanceVisualCoef ( )
protected

Definition at line 256 of file pluginpresencenotifier.c.

◆ GetNoisePresence()

int GetNoisePresence ( )
protected

returns actual noise presence of player

Definition at line 191 of file pluginpresencenotifier.c.

◆ GetSurfaceNoiseComponent()

int GetSurfaceNoiseComponent ( )
protected

DEPRECATED.

◆ GetTimerLength()

float GetTimerLength ( )
protected

Definition at line 18 of file pluginpresencenotifier.c.

◆ GetValue()

int GetValue ( )
protected

Definition at line 23 of file pluginpresencenotifier.c.

◆ GetVisualPresence()

int GetVisualPresence ( )
protected

returns actual visibility presence of player

Definition at line 197 of file pluginpresencenotifier.c.

◆ Init()

void Init ( PlayerBase player)
protected

Definition at line 114 of file pluginpresencenotifier.c.

◆ PluginPresenceNotifier()

void PluginPresenceNotifier ( )
protected

Definition at line 107 of file pluginpresencenotifier.c.

◆ PresenceNotifierNoiseEvent()

void PresenceNotifierNoiseEvent ( float pValue,
float pLength )
protected

Definition at line 12 of file pluginpresencenotifier.c.

◆ ProcessEvent()

void ProcessEvent ( EPresenceNotifierNoiseEventType pEventType)
protected

processing of external one-time events (land, fire, etc.)

Definition at line 203 of file pluginpresencenotifier.c.

◆ ProcessNoiseComponents()

int ProcessNoiseComponents ( )
protected

Definition at line 219 of file pluginpresencenotifier.c.

◆ ProcessVisualComponents()

int ProcessVisualComponents ( )
protected

Definition at line 208 of file pluginpresencenotifier.c.

◆ ShowCoefsDbg()

void ShowCoefsDbg ( bool pEnabled)
protected

HumanMovementState content

Definition at line 125 of file pluginpresencenotifier.c.

Variable Documentation

◆ LAND_NOISE_LVL1

const int LAND_NOISE_LVL1 = 2
protected

land noise

Definition at line 97 of file pluginpresencenotifier.c.

◆ LAND_NOISE_LVL2

const int LAND_NOISE_LVL2 = 3
protected

Definition at line 98 of file pluginpresencenotifier.c.

◆ m_pPlayer

PlayerBase m_pPlayer
protected

Definition at line 102 of file pluginpresencenotifier.c.

◆ m_PresenceNotifierNoiseEvents

ref PresenceNotifierNoiseEvents m_PresenceNotifierNoiseEvents
protected

Definition at line 105 of file pluginpresencenotifier.c.

◆ m_TimerLength

enum EPresenceNotifierNoiseEventType m_TimerLength

◆ m_Value

int m_Value
protected

Definition at line 10 of file pluginpresencenotifier.c.

◆ m_Weather

Weather m_Weather
protected

Definition at line 103 of file pluginpresencenotifier.c.

◆ mainPanelSizeX

const int mainPanelSizeX = 200
protected

Definition at line 79 of file pluginpresencenotifier.c.

◆ mainPanelSizeY

const int mainPanelSizeY = 1
protected

Definition at line 80 of file pluginpresencenotifier.c.

◆ margin

const int margin = 10
protected

Definition at line 82 of file pluginpresencenotifier.c.

◆ NOISE_LEVEL_MAX

const int NOISE_LEVEL_MAX = 5
protected

Definition at line 86 of file pluginpresencenotifier.c.

◆ NOISE_LEVEL_MIN

const int NOISE_LEVEL_MIN = 0
protected

noise limits

Definition at line 85 of file pluginpresencenotifier.c.

◆ SURFACE_LVL1_THRESHOLD

const float SURFACE_LVL1_THRESHOLD = 0.5
protected

Definition at line 94 of file pluginpresencenotifier.c.

◆ SURFACE_LVL2_THRESHOLD

const float SURFACE_LVL2_THRESHOLD = 1.0
protected

Definition at line 93 of file pluginpresencenotifier.c.

◆ SURFACE_NOISE_LVL0

const int SURFACE_NOISE_LVL0 = 0
protected

noise component from surfaces

Definition at line 89 of file pluginpresencenotifier.c.

◆ SURFACE_NOISE_LVL1

const int SURFACE_NOISE_LVL1 = 1
protected

Definition at line 90 of file pluginpresencenotifier.c.

◆ SURFACE_NOISE_LVL2

const int SURFACE_NOISE_LVL2 = 2
protected

Definition at line 91 of file pluginpresencenotifier.c.

◆ windowPosX

class PresenceNotifierNoiseEvents windowPosX = 0
protected

dbgUI settings

◆ windowPosY

const int windowPosY = 10
protected

Definition at line 77 of file pluginpresencenotifier.c.