#include <InstanceSaveMgr.h>
|
| void | Unload () |
| |
| void | LoadInstances () |
| |
| void | LoadResetTimes () |
| |
| time_t | GetResetTimeFor (uint32 mapid, Difficulty d) const |
| |
| time_t | GetSubsequentResetTime (uint32 mapid, Difficulty difficulty, time_t resetTime) const |
| |
| void | InitializeResetTimeFor (uint32 mapid, Difficulty d, time_t t) |
| |
| void | SetResetTimeFor (uint32 mapid, Difficulty d, time_t t) |
| |
| ResetTimeByMapDifficultyMap const & | GetResetTimeMap () const |
| |
| void | ScheduleReset (bool add, time_t time, InstResetEvent event) |
| |
| void | ForceGlobalReset (uint32 mapId, Difficulty difficulty) |
| |
| void | Update () |
| |
| InstanceSave * | AddInstanceSave (uint32 mapId, uint32 instanceId, Difficulty difficulty, time_t resetTime, bool canReset, bool load=false) |
| |
| void | RemoveInstanceSave (uint32 InstanceId) |
| |
| void | UnloadInstanceSave (uint32 InstanceId) |
| |
| InstanceSave * | GetInstanceSave (uint32 InstanceId) |
| |
| uint32 | GetNumInstanceSaves () const |
| |
| uint32 | GetNumBoundPlayersTotal () const |
| |
| uint32 | GetNumBoundGroupsTotal () const |
| |
Definition at line 149 of file InstanceSaveMgr.h.
◆ InstanceSaveHashMap
◆ ResetTimeQueue
◆ InstanceSaveManager()
| InstanceSaveManager::InstanceSaveManager |
( |
| ) |
|
|
inlineprivate |
◆ ~InstanceSaveManager()
| InstanceSaveManager::~InstanceSaveManager |
( |
| ) |
|
|
private |
◆ _ResetInstance()
| void InstanceSaveManager::_ResetInstance |
( |
uint32 |
mapid, |
|
|
uint32 |
instanceId |
|
) |
| |
|
private |
◆ _ResetOrWarnAll()
| void InstanceSaveManager::_ResetOrWarnAll |
( |
uint32 |
mapid, |
|
|
Difficulty |
difficulty, |
|
|
bool |
warn, |
|
|
time_t |
resetTime |
|
) |
| |
|
private |
◆ _ResetSave()
| void InstanceSaveManager::_ResetSave |
( |
InstanceSaveHashMap::iterator & |
itr | ) |
|
|
private |
◆ AddInstanceSave()
◆ DeleteInstanceFromDB()
| void InstanceSaveManager::DeleteInstanceFromDB |
( |
uint32 |
instanceid | ) |
|
|
static |
◆ ForceGlobalReset()
| void InstanceSaveManager::ForceGlobalReset |
( |
uint32 |
mapId, |
|
|
Difficulty |
difficulty |
|
) |
| |
◆ GetInstanceSave()
◆ GetNumBoundGroupsTotal()
| uint32 InstanceSaveManager::GetNumBoundGroupsTotal |
( |
| ) |
const |
◆ GetNumBoundPlayersTotal()
| uint32 InstanceSaveManager::GetNumBoundPlayersTotal |
( |
| ) |
const |
◆ GetNumInstanceSaves()
| uint32 InstanceSaveManager::GetNumInstanceSaves |
( |
| ) |
const |
|
inline |
◆ GetResetTimeFor()
| time_t InstanceSaveManager::GetResetTimeFor |
( |
uint32 |
mapid, |
|
|
Difficulty |
d |
|
) |
| const |
|
inline |
◆ GetResetTimeMap()
◆ GetSubsequentResetTime()
| time_t InstanceSaveManager::GetSubsequentResetTime |
( |
uint32 |
mapid, |
|
|
Difficulty |
difficulty, |
|
|
time_t |
resetTime |
|
) |
| const |
◆ InitializeResetTimeFor()
| void InstanceSaveManager::InitializeResetTimeFor |
( |
uint32 |
mapid, |
|
|
Difficulty |
d, |
|
|
time_t |
t |
|
) |
| |
|
inline |
◆ instance()
◆ LoadInstances()
| void InstanceSaveManager::LoadInstances |
( |
| ) |
|
◆ LoadResetTimes()
| void InstanceSaveManager::LoadResetTimes |
( |
| ) |
|
◆ RemoveInstanceSave()
| void InstanceSaveManager::RemoveInstanceSave |
( |
uint32 |
InstanceId | ) |
|
◆ ScheduleReset()
| void InstanceSaveManager::ScheduleReset |
( |
bool |
add, |
|
|
time_t |
time, |
|
|
InstResetEvent |
event |
|
) |
| |
◆ SetResetTimeFor()
| void InstanceSaveManager::SetResetTimeFor |
( |
uint32 |
mapid, |
|
|
Difficulty |
d, |
|
|
time_t |
t |
|
) |
| |
◆ Unload()
| void InstanceSaveManager::Unload |
( |
| ) |
|
◆ UnloadInstanceSave()
| void InstanceSaveManager::UnloadInstanceSave |
( |
uint32 |
InstanceId | ) |
|
◆ Update()
| void InstanceSaveManager::Update |
( |
| ) |
|
◆ InstanceSave
◆ lock_instLists
| bool InstanceSaveManager::lock_instLists |
|
private |
◆ m_instanceSaveById
◆ m_resetTimeByMapDifficulty
◆ m_resetTimeQueue
◆ ResetTimeDelay
| uint16 InstanceSaveManager::ResetTimeDelay = {3600, 900, 300, 60} |
|
staticprotected |
The documentation for this class was generated from the following files: