Пример #1
0
 /// <summary>
 /// Returns true if this property, or in the case of e.g. array or struct properties any sub- property, contains a
 /// UObject reference.
 /// </summary>
 /// <returns>true if property (or sub- properties) contain a UObject reference, false otherwise</returns>
 public bool ContainsObjectReference(List <UStructProperty> encounteredStructProps)
 {
     using (TArrayUnsafe <UStructProperty> encounteredStructPropsUnsafe = new TArrayUnsafe <UStructProperty>())
     {
         bool result = Native_UProperty.ContainsObjectReference(Address, encounteredStructPropsUnsafe.Address);
         if (encounteredStructProps != null)
         {
             encounteredStructProps.Clear();
             encounteredStructProps.AddRange(encounteredStructPropsUnsafe);
         }
         return(result);
     }
 }