Table of Contents

Struct hkpSimpleShapePhantom

Namespace
SkyrimForge.Game
Assembly
SkyrimForge.dll

A view over RE::hkpSimpleShapePhantom. It stores only the address, so it is valid until the game frees the object. Its members are extensions.

public readonly struct hkpSimpleShapePhantom : IhkpShapePhantom, IhkpPhantom, IhkpWorldObject, IhkReferencedObject, IhkBaseObject, IAddressable, IEquatable<hkpSimpleShapePhantom>
Implements
Inherited Members

Constructors

hkpSimpleShapePhantom()

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 hkpSimpleShapePhantom()

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

bool

Methods

Equals(hkpSimpleShapePhantom)

public bool Equals(hkpSimpleShapePhantom other)

Parameters

other hkpSimpleShapePhantom

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(hkpSimpleShapePhantom, hkpSimpleShapePhantom)

Whether both views are over one address.

public static bool operator ==(hkpSimpleShapePhantom left, hkpSimpleShapePhantom right)

Parameters

left hkpSimpleShapePhantom
right hkpSimpleShapePhantom

Returns

bool

implicit operator hkBaseObject(hkpSimpleShapePhantom)

Converts view to the hkBaseObject it derives from, at the same address.

public static implicit operator hkBaseObject(hkpSimpleShapePhantom view)

Parameters

view hkpSimpleShapePhantom

Returns

hkBaseObject

implicit operator hkReferencedObject(hkpSimpleShapePhantom)

Converts view to the hkReferencedObject it derives from, at the same address.

public static implicit operator hkReferencedObject(hkpSimpleShapePhantom view)

Parameters

view hkpSimpleShapePhantom

Returns

hkReferencedObject

implicit operator hkpPhantom(hkpSimpleShapePhantom)

Converts view to the hkpPhantom it derives from, at the same address.

public static implicit operator hkpPhantom(hkpSimpleShapePhantom view)

Parameters

view hkpSimpleShapePhantom

Returns

hkpPhantom

implicit operator hkpShapePhantom(hkpSimpleShapePhantom)

Converts view to the hkpShapePhantom it derives from, at the same address.

public static implicit operator hkpShapePhantom(hkpSimpleShapePhantom view)

Parameters

view hkpSimpleShapePhantom

Returns

hkpShapePhantom

implicit operator hkpWorldObject(hkpSimpleShapePhantom)

Converts view to the hkpWorldObject it derives from, at the same address.

public static implicit operator hkpWorldObject(hkpSimpleShapePhantom view)

Parameters

view hkpSimpleShapePhantom

Returns

hkpWorldObject

operator !=(hkpSimpleShapePhantom, hkpSimpleShapePhantom)

Whether the views are over different addresses.

public static bool operator !=(hkpSimpleShapePhantom left, hkpSimpleShapePhantom right)

Parameters

left hkpSimpleShapePhantom
right hkpSimpleShapePhantom

Returns

bool