DIFF

class PluginPresenceNotifierSource

PluginPresenceNotifier PluginBase

All members, including inherited

Constructors 1

Constants 14

const int windowPosX = 0

dbgUI settings

Referenced by ShowCoefsDbg()
const int windowPosY = 10
Referenced by ShowCoefsDbg()
const int mainPanelSizeX = 200
Referenced by ShowCoefsDbg()
const int mainPanelSizeY = 1
Referenced by ShowCoefsDbg()
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

Members 3

protected PlayerBase m_pPlayer

--------------------------------------

protected Weather m_Weather
Referenced by Init(), and ShowCoefsDbg()
protected ref PresenceNotifierNoiseEvents m_PresenceNotifierNoiseEvents

Methods 14

void Init(PlayerBase player)
void EnableDebug(bool pEnabled)
References ShowCoefsDbg()
int GetNoisePresence()

returns actual noise presence of player

int GetVisualPresence()

returns actual visibility presence of player

Referenced by ShowCoefsDbg()
void ProcessEvent(EPresenceNotifierNoiseEventType pEventType)

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

protected int ProcessVisualComponents()
Referenced by GetVisualPresence()
protected float GetMovementSpeedVisualCoef()

Visibility

protected float GetMovementStanceVisualCoef()
protected int GetMovementSpeedNoiseComponent()

noise component of presence based on player's speed DEPRECATED

protected int GetBootsNoiseComponent()

noise component of presence based on player's shoes DEPRECATED

protected int GetSurfaceNoiseComponent()

DEPRECATED

protected int GetExternalNoiseEventsComponent()

DEPRECATED