aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/CommandHandlerRegistry.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/CommandHandlerRegistry.hpp')
-rw-r--r--src/profiling/CommandHandlerRegistry.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiling/CommandHandlerRegistry.hpp b/src/profiling/CommandHandlerRegistry.hpp
index 9d514bfcc3..43419deea4 100644
--- a/src/profiling/CommandHandlerRegistry.hpp
+++ b/src/profiling/CommandHandlerRegistry.hpp
@@ -34,11 +34,11 @@ class CommandHandlerRegistry
public:
CommandHandlerRegistry() = default;
- void RegisterFunctor(CommandHandlerFunctor* functor, uint32_t packetId, uint32_t version);
+ void RegisterFunctor(CommandHandlerFunctor* functor, uint32_t familyId, uint32_t packetId, uint32_t version);
void RegisterFunctor(CommandHandlerFunctor* functor);
- CommandHandlerFunctor* GetFunctor(uint32_t packetId, uint32_t version) const;
+ CommandHandlerFunctor* GetFunctor(uint32_t familyId, uint32_t packetId, uint32_t version) const;
private:
std::unordered_map<CommandHandlerKey, CommandHandlerFunctor*, CommandHandlerHash> registry;