Updated patch map to an array and added null safety checks for the conversion

This commit is contained in:
dannuic
2026-04-25 16:54:30 -06:00
parent 0a6dd09f2c
commit 40870924e9
3 changed files with 34 additions and 23 deletions
+1 -1
View File
@@ -9,5 +9,5 @@
namespace Message { class IMessage; }
// store all static functions for the different patches here
// store all static functions for the different patches here, this can return nullptr for unsupported patches
const std::unique_ptr<Message::IMessage>& GetMessageComponent(EQ::versions::ClientVersion version);