public FName(string name, int number, EFindName findType = EFindName.Add) { using (FStringUnsafe nameUnsafe = new FStringUnsafe(name)) { Native_FName.FromStringNumber(out this, ref nameUnsafe.Array, number, findType); } }
public override string ToString() { using (FStringUnsafe resultUnsafe = new FStringUnsafe()) { Native_FName.ToString(ref this, ref resultUnsafe.Array); return(resultUnsafe.Value); } }
public static bool operator !=(FName a, FName b) { return(!Native_FName.IsEqual(ref a, ref b, ENameCase.IgnoreCase, true)); }
public int CompareTo(FName other) { return(Native_FName.Compare(ref this, ref other)); }
public bool Equals(FName other) { return(Native_FName.IsEqual(ref this, ref other, ENameCase.IgnoreCase, true)); }