Example #1
0
 /// <summary>
 /// Used to safely check whether all of the passed in flags are set. This is required
 /// as PropertyFlags currently is a 64 bit data type and bool is a 32 bit data type so
 /// simply using PropertyFlags&amp;CPF_MyFlagBiggerThanMaxInt won't work correctly when
 /// assigned directly to an bool.
 /// </summary>
 /// <param name="flagsToCheck">Object flags to check for</param>
 /// <returns>true if all of the passed in flags are set (including no flags passed in), false otherwise</returns>
 public bool HasAllPropertyFlags(EPropertyFlags flagsToCheck)
 {
     return(Native_UProperty.HasAllPropertyFlags(Address, flagsToCheck));
 }
Example #2
0
 private static bool PropertyHasGetTypeHash(IntPtr property)
 {
     return(Native_UProperty.HasAllPropertyFlags(property, EPropertyFlags.HasGetValueTypeHash));
 }