mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 18:46:37 +00:00
[Tasks] Change zone task data container (#2410)
This allows removal of the task id limit (MAXTASKS) There's some suspect places task data isn't verified but left unchanged If memory use becomes too high once more live data is added tasks can be stored in shared memory instead
This commit is contained in:
@@ -74,7 +74,7 @@ public:
|
||||
int ActiveSpeakActivity(Client* client, NPC* npc, int task_id);
|
||||
int ActiveTasksInSet(int task_set_id);
|
||||
int CompletedTasksInSet(int task_set_id);
|
||||
bool HasSlotForTask(TaskInformation *task);
|
||||
bool HasSlotForTask(const TaskInformation* task);
|
||||
void CreateTaskDynamicZone(Client* client, int task_id, DynamicZone& dz);
|
||||
void ListTaskTimers(Client* client);
|
||||
void KickPlayersSharedTask(Client* client);
|
||||
@@ -114,7 +114,7 @@ private:
|
||||
|
||||
int IncrementDoneCount(
|
||||
Client *client,
|
||||
const TaskInformation* task_information,
|
||||
const TaskInformation* task_data,
|
||||
int task_index,
|
||||
int activity_id,
|
||||
int count = 1,
|
||||
|
||||
Reference in New Issue
Block a user