mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-25 22:31:29 +00:00
More comments [skip ci]
This commit is contained in:
parent
6ab2e46f42
commit
85a858fcd6
@ -160,6 +160,13 @@ void SharedTaskManager::HandleTaskRequest(ServerPacket *pack)
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Loads in the tasks and task_activity tables
|
||||
* We limit to shared to save some memory
|
||||
* This can be called while reloading tasks (because deving etc)
|
||||
* This data is loaded into the task_information map
|
||||
*/
|
||||
|
||||
bool SharedTaskManager::LoadSharedTasks(int single_task)
|
||||
{
|
||||
std::string query;
|
||||
@ -320,10 +327,15 @@ bool SharedTaskManager::LoadSharedTaskState()
|
||||
// Load existing tasks. We may not want to actually do this here and wait for a client to log in
|
||||
// But the crash case may actually dictate we should :P
|
||||
|
||||
// set next_id to highest used ID + 1
|
||||
// set next_id to highest used ID
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
* Return the next unused ID
|
||||
* Hopefully this does not grow too large.
|
||||
*/
|
||||
|
||||
int SharedTaskManager::GetNextID()
|
||||
{
|
||||
next_id++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user