[Quest API] Cross zone and world wide method overhaul. (#1520)

* [Quest API] Cross zone and world wide method overhaul.
- Adds support for Character ID, Character Name, and Expedition ID to all cross zone methods that did not have a method.
- Adds worldwide LDoN Updates.
- Shrinks the number of packets and structs from 83 to 17.

No quest functionality will be affected by this, as the only changes are the underlying method used to send the cross zone and world wide data.

* Formatting, organization, and fixing of improper exports.

* Finalize comb through of variable types, update types, etc.

* Merge fixes.
This commit is contained in:
Kinglykrab
2021-09-19 19:15:14 -04:00
committed by GitHub
parent 24c079dca4
commit c15c54e920
13 changed files with 4916 additions and 4786 deletions
+1 -1
View File
@@ -1311,7 +1311,7 @@ void SharedTaskManager::SendMembersMessageID(
for (const auto &member : shared_task->GetMembers()) {
auto character = client_list.FindCLEByCharacterID(member.character_id);
if (character && character->Server()) {
strn0cpy(buf->character_name, character->name(), sizeof(buf->character_name));
strn0cpy(buf->client_name, character->name(), sizeof(buf->client_name));
character->Server()->SendPacket(pack.get());
}
}