Struct hkpShapePhantom
- Namespace
- SkyrimForge.Game
- Assembly
- SkyrimForge.dll
A view over RE::hkpShapePhantom. It stores only the address, so it is valid until the game frees the object. Its members are extensions.
public readonly struct hkpShapePhantom : IhkpShapePhantom, IhkpPhantom, IhkpWorldObject, IhkReferencedObject, IhkBaseObject, IAddressable, IEquatable<hkpShapePhantom>
- Implements
- Inherited Members
Constructors
hkpShapePhantom()
Reports a compile-time error, since a view created with new has no address.
[Obsolete("Creates a view with no address. SkyrimForge cannot allocate this type, so a view of it is obtained only from a member that returns one.", true)]
public hkpShapePhantom()
Properties
Exists
Whether the view has an address. A view from default or passed by the game to a replaced function can have none.
public bool Exists { get; }
Property Value
Methods
Equals(hkpShapePhantom)
public bool Equals(hkpShapePhantom other)
Parameters
otherhkpShapePhantom
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(hkpShapePhantom, hkpShapePhantom)
Whether both views are over one address.
public static bool operator ==(hkpShapePhantom left, hkpShapePhantom right)
Parameters
lefthkpShapePhantomrighthkpShapePhantom
Returns
implicit operator hkBaseObject(hkpShapePhantom)
Converts view to the hkBaseObject it derives from, at the same address.
public static implicit operator hkBaseObject(hkpShapePhantom view)
Parameters
viewhkpShapePhantom
Returns
implicit operator hkReferencedObject(hkpShapePhantom)
Converts view to the hkReferencedObject it derives from, at the same address.
public static implicit operator hkReferencedObject(hkpShapePhantom view)
Parameters
viewhkpShapePhantom
Returns
implicit operator hkpPhantom(hkpShapePhantom)
Converts view to the hkpPhantom it derives from, at the same address.
public static implicit operator hkpPhantom(hkpShapePhantom view)
Parameters
viewhkpShapePhantom
Returns
implicit operator hkpWorldObject(hkpShapePhantom)
Converts view to the hkpWorldObject it derives from, at the same address.
public static implicit operator hkpWorldObject(hkpShapePhantom view)
Parameters
viewhkpShapePhantom
Returns
operator !=(hkpShapePhantom, hkpShapePhantom)
Whether the views are over different addresses.
public static bool operator !=(hkpShapePhantom left, hkpShapePhantom right)
Parameters
lefthkpShapePhantomrighthkpShapePhantom