Files
Project-Reboot-3.0/Project Reboot 3.0/NameTypes.h
2023-03-21 15:20:11 -04:00

24 lines
349 B
C++

#pragma once
#include "inc.h"
struct FNameEntryId
{
uint32 Value;
};
struct FName
{
FNameEntryId ComparisonIndex;
uint32 Number;
std::string ToString() const;
std::string ToString();
bool IsValid() { return ComparisonIndex.Value > 0; }
bool operator==(FName other)
{
return ComparisonIndex.Value == other.ComparisonIndex.Value;
}
};