mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 17:46:36 +00:00
[Tasks] Add method to filter shared task offers (#2497)
This commit is contained in:
+2
-1
@@ -11,8 +11,8 @@
|
||||
#include <algorithm>
|
||||
|
||||
class Client;
|
||||
|
||||
class Mob;
|
||||
class SharedTaskRequest;
|
||||
|
||||
class TaskManager {
|
||||
|
||||
@@ -81,6 +81,7 @@ private:
|
||||
void SendActiveTaskToClient(ClientTaskInformation *task, Client *client, int task_index, bool task_complete);
|
||||
|
||||
// shared tasks
|
||||
bool CanOfferSharedTask(int task_id, const SharedTaskRequest& request);
|
||||
void SyncClientSharedTaskWithPersistedState(Client *c, ClientTaskState *cts);
|
||||
void SyncClientSharedTaskRemoveLocalIfNotExists(Client *c, ClientTaskState *cts);
|
||||
void SendSharedTaskSelector(Client* client, Mob* mob, const std::vector<int>& tasks);
|
||||
|
||||
Reference in New Issue
Block a user