mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-02 23:40:26 +00:00
[Tasks] Extend IsTaskCompleted to also be aware of shared task completion (#4714)
* [Tasks] Extend IsTaskCompleted to also be aware of shared task completion * Fix my stupidity * Update client.h
This commit is contained in:
@@ -45,7 +45,7 @@ public:
|
||||
void AcceptNewTask(Client *client, int task_id, int npc_type_id, time_t accept_time, bool enforce_level_requirement = false);
|
||||
void FailTask(Client *client, int task_id);
|
||||
int TaskTimeLeft(int task_id);
|
||||
bool IsTaskCompleted(int task_id);
|
||||
bool IsTaskCompleted(int task_id, Client *c = nullptr);
|
||||
bool AreTasksCompleted(const std::vector<int>& task_ids);
|
||||
bool IsTaskActive(int task_id);
|
||||
bool IsTaskActivityActive(int task_id, int activity_id);
|
||||
|
||||
Reference in New Issue
Block a user