aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/CommandHandlerKey.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/CommandHandlerKey.hpp')
-rw-r--r--src/profiling/CommandHandlerKey.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/profiling/CommandHandlerKey.hpp b/src/profiling/CommandHandlerKey.hpp
index 1ec5f5171f..247f67925b 100644
--- a/src/profiling/CommandHandlerKey.hpp
+++ b/src/profiling/CommandHandlerKey.hpp
@@ -16,8 +16,10 @@ namespace profiling
class CommandHandlerKey
{
public:
- CommandHandlerKey(uint32_t packetId, uint32_t version) : m_PacketId(packetId), m_Version(version) {};
+ CommandHandlerKey(uint32_t familyId, uint32_t packetId, uint32_t version)
+ : m_FamilyId(familyId), m_PacketId(packetId), m_Version(version) {};
+ uint32_t GetFamilyId() const;
uint32_t GetPacketId() const;
uint32_t GetVersion() const;
@@ -29,6 +31,7 @@ public:
bool operator!=(const CommandHandlerKey& rhs) const;
private:
+ uint32_t m_FamilyId;
uint32_t m_PacketId;
uint32_t m_Version;
};