Exemple #1
0
 /// <summary>
 /// Gets the value for the given object instance
 /// </summary>
 /// <param name="instance">The object instance</param>
 /// <param name="arrayIndex">The array index if this is an array type</param>
 /// <returns>The value</returns>
 public T GetValue(UObject instance, int arrayIndex = 0)
 {
     return(GetValuePtr(property.ContainerPtrToValuePtr(instance == null ? IntPtr.Zero : instance.Address, arrayIndex)));
 }