mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
24 lines
349 B
C++
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;
|
|
}
|
|
}; |