Exemple #1
0
 public override int GetHashCode()
 {
     return((int)Native_FWeakObjectPtr.GetTypeHash(ref this));
 }
Exemple #2
0
 public static bool operator !=(FWeakObjectPtr a, FWeakObjectPtr b)
 {
     return(!Native_FWeakObjectPtr.Equals(ref a, ref b));
 }
Exemple #3
0
 public bool Equals(FWeakObjectPtr other)
 {
     return(Native_FWeakObjectPtr.Equals(ref this, ref other));
 }
Exemple #4
0
 public void Set(FWeakObjectPtr value)
 {
     Native_FWeakObjectPtr.SetFWeakObjectPtr(ref this, ref value);
 }
Exemple #5
0
 public void Reset()
 {
     Native_FWeakObjectPtr.Reset(ref this);
 }
Exemple #6
0
 /// <summary>
 /// Set UObject value as IntPtr
 /// </summary>
 public void Set(IntPtr value)
 {
     Native_FWeakObjectPtr.SetUObject(ref this, value);
 }
Exemple #7
0
 public void Set(UObject value)
 {
     Native_FWeakObjectPtr.SetUObject(ref this, value == null ? IntPtr.Zero : value.Address);
 }
Exemple #8
0
 /// <summary>
 /// Returns the UObject as an IntPtr
 /// </summary>
 public IntPtr GetPtrEvenIfUnreachable()
 {
     return(Native_FWeakObjectPtr.GetEvenIfUnreachable(ref this));
 }
Exemple #9
0
 /// <summary>
 /// Returns the UObject as an IntPtr
 /// </summary>
 public IntPtr GetPtr()
 {
     return(Native_FWeakObjectPtr.Get(ref this));
 }
Exemple #10
0
 public UObject GetEvenIfUnreachable()
 {
     return(GCHelper.Find(Native_FWeakObjectPtr.GetEvenIfUnreachable(ref this)));
 }
Exemple #11
0
 public UObject Get()
 {
     return(GCHelper.Find(Native_FWeakObjectPtr.Get(ref this)));
 }
Exemple #12
0
 public bool IsValid(bool evenIfPendingKill, bool threadsafeTest = false)
 {
     return(Native_FWeakObjectPtr.IsValid(ref this, evenIfPendingKill, threadsafeTest));
 }