[Shared Tasks] Task Kill Update Fix (#1573)

* Revert "Revert "Shared task kill update fix""

This reverts commit 859751f74d.

* Swap return for continue in this context

* Slight tweak

* Slight tweak

* Remove no longer needed task methods

* Update scope for IncrementDoneCount

* Create helper method Client::GetPartyMembers() and add client->HasTaskState()

* Move HandleUpdateTasksOnKill responsibility to TaskManager

* Remove unnecessary pointer
This commit is contained in:
Chris Miles authored and GitHub committed 2021-10-01 20:57:00 -07:00
1 parent bb5c491794
commit 9a413cf553
8 files changed
+140 -126

No files matched your search

+2
View File
@@ -72,6 +72,8 @@ public:
// shared tasks
void SyncClientSharedTaskState(Client *c, ClientTaskState *cts);
void HandleUpdateTasksOnKill(Client *client, uint32 npc_type_id);
private:
TaskGoalListManager m_goal_list_manager;
TaskProximityManager m_proximity_manager;