[Shared Tasks] Cleanup shared task request and remove (#2341)

Functionally nothing should change in this patch. This refactors a lot
of formatting and code duplication in requests and member removals.

The long SharedTaskMessage namespace and its constants were contributing
to a lot of formatting that was difficult to read. These were shortened
since they're not all shared task specific anyway (though they should
probably just be moved to string_ids.h with other eqstrs now)

Shared task requests were refactored a little to remove an unnecessary
function that filled potential members. The separate functions used for
/taskquit and /taskremove were also combined into a single function to
remove a member while preserving live message differences.
This commit is contained in:
hg authored and GitHub committed 2022-07-30 20:36:04 -05:00
1 parent 8a962e09f6
commit d243cbf8a3
12 files changed
+220 -419

No files matched your search

+1 -1
View File
@@ -3236,7 +3236,7 @@ void WorldServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p)
}
case ServerOP_SharedTaskAcceptNewTask:
case ServerOP_SharedTaskUpdate:
case ServerOP_SharedTaskAttemptRemove:
case ServerOP_SharedTaskQuit:
case ServerOP_SharedTaskMemberlist:
case ServerOP_SharedTaskMemberChange:
case ServerOP_SharedTaskInvitePlayer: