Пример #1
0
 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);
     }
 }
Пример #2
0
 public override string ToString()
 {
     using (FStringUnsafe resultUnsafe = new FStringUnsafe())
     {
         Native_FName.ToString(ref this, ref resultUnsafe.Array);
         return(resultUnsafe.Value);
     }
 }
Пример #3
0
 public static bool operator !=(FName a, FName b)
 {
     return(!Native_FName.IsEqual(ref a, ref b, ENameCase.IgnoreCase, true));
 }
Пример #4
0
 public int CompareTo(FName other)
 {
     return(Native_FName.Compare(ref this, ref other));
 }
Пример #5
0
 public bool Equals(FName other)
 {
     return(Native_FName.IsEqual(ref this, ref other, ENameCase.IgnoreCase, true));
 }