class PluginPresenceNotifierSource
PluginPresenceNotifier › PluginBase
All members, including inherited
Constructors 1
void PluginPresenceNotifier()References new PresenceNotifierNoiseEvents(), PresenceNotifierNoiseEvents.RegisterEvent(), LAND_NOISE_LVL1
Show 2 more
, LAND_NOISE_LVL2, and m_PresenceNotifierNoiseEventsConstants 14
const int windowPosY = 10Referenced by ShowCoefsDbg()
const int mainPanelSizeX = 200Referenced by ShowCoefsDbg()
const int mainPanelSizeY = 1Referenced by ShowCoefsDbg()
const int margin = 10const int NOISE_LEVEL_MAX = 5Referenced by ProcessNoiseComponents()
const int SURFACE_NOISE_LVL0 = 0noise component from surfaces
const int SURFACE_NOISE_LVL1 = 1const int SURFACE_NOISE_LVL2 = 2const float SURFACE_LVL2_THRESHOLD = 1.0const float SURFACE_LVL1_THRESHOLD = 0.5const int LAND_NOISE_LVL2 = 3Referenced by PluginPresenceNotifier()
Members 3
protected PlayerBase m_pPlayer--------------------------------------
Referenced by GetMovementSpeedVisualCoef(), GetMovementStanceVisualCoef(), Init()
Show 3 more
, ProcessNoiseComponents(), ProcessVisualComponents(), and ShowCoefsDbg()protected Weather m_Weatherprotected ref PresenceNotifierNoiseEvents m_PresenceNotifierNoiseEventsMethods 14
void Init(PlayerBase player)Referenced by PlayerBase.OnSelectPlayer()
protected void ShowCoefsDbg(bool pEnabled)References DbgUI.Begin(), DbgUI.BeginCleanupScope(), DbgUI.End()
Show 25 more
, DbgUI.EndCleanupScope(), GetMovementSpeedVisualCoef(), GetMovementStanceVisualCoef(), Human.GetMovementState(), NoiseAIEvaluate.GetNoiseMultiplierByPlayerSpeed(), NoiseAIEvaluate.GetNoiseMultiplierByShoes(), NoiseAIEvaluate.GetNoiseMultiplierBySurface(), GetNoisePresence(), NoiseAIEvaluate.GetNoiseReduction(), Object.GetSurfaceNoise(), PlayerBase.GetVisibilityCoef(), GetVisualPresence(), new HumanMovementState(), DbgUI.Panel(), DbgUI.Spacer(), DbgUI.Text(), HumanMovementState.m_CommandTypeId, HumanMovementState.m_iMovement, HumanMovementState.m_iStanceIdx, m_pPlayer, m_Weather, mainPanelSizeX, mainPanelSizeY, windowPosX, and windowPosYReferenced by EnableDebug()
int GetVisualPresence()returns actual visibility presence of player
References ProcessVisualComponents()
Referenced by ShowCoefsDbg()
void ProcessEvent(EPresenceNotifierNoiseEventType pEventType)processing of external one-time events (land, fire, etc.)
Referenced by PlayerBase.OnJumpEnd()
protected int ProcessVisualComponents()References GetMovementSpeedVisualCoef(), GetMovementStanceVisualCoef(), PlayerBase.GetVisibilityCoef()
Show 1 more
, m_pPlayerReferenced by GetVisualPresence()
protected int ProcessNoiseComponents()References Math.Clamp(), NoiseAIEvaluate.GetNoiseMultiplier(), NoiseAIEvaluate.GetNoiseReduction()
Show 5 more
, CGame.GetWeather(), Math.Round(), m_pPlayer, NOISE_LEVEL_MAX, and NOISE_LEVEL_MINReferenced by GetNoisePresence()
protected float GetMovementSpeedVisualCoef()Visibility
References Human.GetMovementState(), new HumanMovementState(), AITargetCallbacksPlayer.StanceToMovementIdxTranslation()
Show 1 more
, m_pPlayerprotected float GetMovementStanceVisualCoef()References Human.GetMovementState(), new HumanMovementState(), HumanMovementState.m_iStanceIdx
Show 1 more
, m_pPlayerprotected 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