Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions f4se/GameObjects.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,9 @@ class TESNPC : public TESActorBase
UInt32 key; // 00
float value; // 04

bool operator==(const UInt32 a_key) const { return key == a_key; }
operator UInt32() const { return key; }
bool operator==(const UInt32 a_key) const { return key == a_key; }
bool operator==(const MorphSetData & rhs) const { return key == rhs.key; }
operator UInt32() const { return key; }
static inline UInt32 GetHash(const UInt32 * key)
{
UInt32 hash;
Expand All @@ -194,8 +195,9 @@ class TESNPC : public TESActorBase
UInt32 index; // 00
float value[8]; // 04

bool operator==(const UInt32 a_key) const { return index == a_key; }
operator UInt32() const { return index; }
bool operator==(const UInt32 a_key) const { return index == a_key; }
bool operator==(const FaceMorphRegion & rhs) const { return index == rhs.index; }
operator UInt32() const { return index; }
static inline UInt32 GetHash(const UInt32 * key)
{
UInt32 hash;
Expand Down