Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
pluginpresencenotifier.c File Reference

Go to the source code of this file.

Data Structures

class  PresenceNotifierNoiseEvents
 

Enumerations

enum  EPresenceNotifierNoiseEventType { LAND_LIGHT, LAND_HEAVY }
 

Functions

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

Variables

enum EPresenceNotifierNoiseEventType m_TimerLength
 
protected int m_Value
 
class PresenceNotifierNoiseEvents windowPosX = 0
 dbgUI settings More...
 
const int windowPosY = 10
 
const int mainPanelSizeX = 200
 
const int mainPanelSizeY = 1
 
const int margin = 10
 
const int NOISE_LEVEL_MIN = 0
 noise limits More...
 
const int NOISE_LEVEL_MAX = 5
 
const int SURFACE_NOISE_LVL0 = 0
 noise component from surfaces More...
 
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 More...
 
const int LAND_NOISE_LVL2 = 3
 
protected PlayerBase m_pPlayer
 
protected 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)

Definition at line 122 of file pluginpresencenotifier.c.

◆ GetBootsNoiseComponent()

protected int GetBootsNoiseComponent ( )

noise component of presence based on player's shoes DEPRECATED

◆ GetExternalNoiseEventsComponent()

protected int GetExternalNoiseEventsComponent ( )

DEPRECATED.

◆ GetMovementSpeedNoiseComponent()

protected int GetMovementSpeedNoiseComponent ( )

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

◆ GetMovementSpeedVisualCoef()

protected float GetMovementSpeedVisualCoef ( )

Visibility.

Definition at line 230 of file pluginpresencenotifier.c.

◆ GetMovementStanceVisualCoef()

protected float GetMovementStanceVisualCoef ( )

Definition at line 252 of file pluginpresencenotifier.c.

◆ GetNoisePresence()

int GetNoisePresence ( )

returns actual noise presence of player

Definition at line 188 of file pluginpresencenotifier.c.

◆ GetSurfaceNoiseComponent()

protected int GetSurfaceNoiseComponent ( )

DEPRECATED.

◆ GetTimerLength()

float GetTimerLength ( )

Definition at line 18 of file pluginpresencenotifier.c.

◆ GetValue()

int GetValue ( )

Definition at line 23 of file pluginpresencenotifier.c.

◆ GetVisualPresence()

int GetVisualPresence ( )

returns actual visibility presence of player

Definition at line 194 of file pluginpresencenotifier.c.

◆ Init()

void Init ( PlayerBase  player)

Definition at line 117 of file pluginpresencenotifier.c.

◆ PluginPresenceNotifier()

void PluginPresenceNotifier ( )

Definition at line 108 of file pluginpresencenotifier.c.

◆ PresenceNotifierNoiseEvent()

void PresenceNotifierNoiseEvent ( float  pValue,
float  pLength 
)

Definition at line 12 of file pluginpresencenotifier.c.

◆ ProcessEvent()

void ProcessEvent ( EPresenceNotifierNoiseEventType  pEventType)

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

Definition at line 200 of file pluginpresencenotifier.c.

◆ ProcessNoiseComponents()

protected int ProcessNoiseComponents ( )

Definition at line 216 of file pluginpresencenotifier.c.

◆ ProcessVisualComponents()

protected int ProcessVisualComponents ( )

Definition at line 205 of file pluginpresencenotifier.c.

◆ ShowCoefsDbg()

protected void ShowCoefsDbg ( bool  pEnabled)

HumanMovementState content

Definition at line 127 of file pluginpresencenotifier.c.

◆ ~PluginPresenceNotifier()

Definition at line 115 of file pluginpresencenotifier.c.

Variable Documentation

◆ LAND_NOISE_LVL1

const int LAND_NOISE_LVL1 = 2

land noise

Definition at line 99 of file pluginpresencenotifier.c.

◆ LAND_NOISE_LVL2

const int LAND_NOISE_LVL2 = 3

Definition at line 100 of file pluginpresencenotifier.c.

◆ m_pPlayer

protected PlayerBase m_pPlayer

Definition at line 104 of file pluginpresencenotifier.c.

◆ m_PresenceNotifierNoiseEvents

protected ref PresenceNotifierNoiseEvents m_PresenceNotifierNoiseEvents

Definition at line 106 of file pluginpresencenotifier.c.

◆ m_TimerLength

enum EPresenceNotifierNoiseEventType m_TimerLength

◆ m_Value

protected int m_Value

Definition at line 10 of file pluginpresencenotifier.c.

◆ mainPanelSizeX

const int mainPanelSizeX = 200

Definition at line 81 of file pluginpresencenotifier.c.

◆ mainPanelSizeY

const int mainPanelSizeY = 1

Definition at line 82 of file pluginpresencenotifier.c.

◆ margin

const int margin = 10

Definition at line 83 of file pluginpresencenotifier.c.

◆ NOISE_LEVEL_MAX

const int NOISE_LEVEL_MAX = 5

Definition at line 88 of file pluginpresencenotifier.c.

◆ NOISE_LEVEL_MIN

const int NOISE_LEVEL_MIN = 0

noise limits

Definition at line 87 of file pluginpresencenotifier.c.

◆ SURFACE_LVL1_THRESHOLD

const float SURFACE_LVL1_THRESHOLD = 0.5

Definition at line 96 of file pluginpresencenotifier.c.

◆ SURFACE_LVL2_THRESHOLD

const float SURFACE_LVL2_THRESHOLD = 1.0

Definition at line 95 of file pluginpresencenotifier.c.

◆ SURFACE_NOISE_LVL0

const int SURFACE_NOISE_LVL0 = 0

noise component from surfaces

Definition at line 91 of file pluginpresencenotifier.c.

◆ SURFACE_NOISE_LVL1

const int SURFACE_NOISE_LVL1 = 1

Definition at line 92 of file pluginpresencenotifier.c.

◆ SURFACE_NOISE_LVL2

const int SURFACE_NOISE_LVL2 = 2

Definition at line 93 of file pluginpresencenotifier.c.

◆ windowPosX

class PresenceNotifierNoiseEvents windowPosX = 0

dbgUI settings

◆ windowPosY

const int windowPosY = 10

Definition at line 80 of file pluginpresencenotifier.c.