mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
Add expansion DBC CSVs, Turtle support, and server-specific login
This commit is contained in:
parent
7092844b5e
commit
f247d53309
139 changed files with 676758 additions and 91 deletions
|
|
@ -169,7 +169,7 @@ public:
|
|||
* Factory function to create the right parser set for an expansion.
|
||||
*/
|
||||
inline std::unique_ptr<PacketParsers> createPacketParsers(const std::string& expansionId) {
|
||||
if (expansionId == "classic") return std::make_unique<ClassicPacketParsers>();
|
||||
if (expansionId == "classic" || expansionId == "turtle") return std::make_unique<ClassicPacketParsers>();
|
||||
if (expansionId == "tbc") return std::make_unique<TbcPacketParsers>();
|
||||
return std::make_unique<WotlkPacketParsers>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue