Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+25
@@ -0,0 +1,25 @@
|
||||
// $Revision$
|
||||
// $Date$
|
||||
// $Id$
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <DamageStatusEnum32.h>
|
||||
#include <EntityTypeStruct.h>
|
||||
#include <QtCore/QMetaType>
|
||||
#include <QtCore/QHash>
|
||||
#include <Common/typestruct.h>
|
||||
|
||||
Q_DECLARE_METATYPE(rpr2::DamageStatusEnum32::ET)
|
||||
|
||||
|
||||
namespace rpr2
|
||||
{
|
||||
inline uint qHash(const rpr2::EntityTypeStruct &ets)
|
||||
{
|
||||
// da es genau 64 belegte Bits sind, geht es so am einfachsten
|
||||
const quint64 *val = reinterpret_cast<const quint64 *>(&ets);
|
||||
return ::qHash(*val);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user