AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
DynamicVisibilityMgr Class Reference

#include "DynamicVisibility.h"

Static Public Member Functions

static void Update (uint32 sessionCount)
 
static uint32 GetVisibilityNotifyDelay (uint32 map_type)
 
static uint32 GetAINotifyDelay (uint32 map_type)
 
static float GetReqMoveDistSq (uint32 map_type)
 

Static Protected Attributes

static uint8 visibilitySettingsIndex = 0
 

Detailed Description

Member Function Documentation

◆ GetAINotifyDelay()

static uint32 DynamicVisibilityMgr::GetAINotifyDelay ( uint32  map_type)
inlinestatic
const VisibilitySettingData VisibilitySettings[VISIBILITY_SETTINGS_MAX_INTERVAL_NUM][5]
Definition: DynamicVisibility.h:36
uint32 aiNotifyDelay
Definition: DynamicVisibility.h:26
static uint8 visibilitySettingsIndex
Definition: DynamicVisibility.h:55

References VisibilitySettingData::aiNotifyDelay, VisibilitySettings, and visibilitySettingsIndex.

Referenced by WorldObject::AddToNotify().

◆ GetReqMoveDistSq()

static float DynamicVisibilityMgr::GetReqMoveDistSq ( uint32  map_type)
inlinestatic

◆ GetVisibilityNotifyDelay()

static uint32 DynamicVisibilityMgr::GetVisibilityNotifyDelay ( uint32  map_type)
inlinestatic

◆ Update()

void DynamicVisibilityMgr::Update ( uint32  sessionCount)
static
23{
28}
std::uint32_t uint32
Definition: Define.h:107
#define VISIBILITY_SETTINGS_PLAYER_INTERVAL
Definition: DynamicVisibility.h:34
#define VISIBILITY_SETTINGS_MAX_INTERVAL_NUM
Definition: DynamicVisibility.h:35

References VISIBILITY_SETTINGS_MAX_INTERVAL_NUM, VISIBILITY_SETTINGS_PLAYER_INTERVAL, and visibilitySettingsIndex.

Referenced by World::Update().

Member Data Documentation

◆ visibilitySettingsIndex

uint8 DynamicVisibilityMgr::visibilitySettingsIndex = 0
staticprotected