aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/CommandHandlerFunctor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/CommandHandlerFunctor.hpp')
-rw-r--r--src/profiling/CommandHandlerFunctor.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/profiling/CommandHandlerFunctor.hpp b/src/profiling/CommandHandlerFunctor.hpp
index 7aaab58d15..4d6dfa080a 100644
--- a/src/profiling/CommandHandlerFunctor.hpp
+++ b/src/profiling/CommandHandlerFunctor.hpp
@@ -18,11 +18,13 @@ namespace profiling
class CommandHandlerFunctor
{
public:
- CommandHandlerFunctor(uint32_t packetId, uint32_t version)
- : m_PacketId(packetId)
+ CommandHandlerFunctor(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;
@@ -31,6 +33,7 @@ public:
virtual ~CommandHandlerFunctor() {}
private:
+ uint32_t m_FamilyId;
uint32_t m_PacketId;
uint32_t m_Version;
};