Table of Contents

Struct bhkSimpleShapePhantom

Namespace
SkyrimForge.Game
Assembly
SkyrimForge.dll

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

public readonly struct bhkSimpleShapePhantom : INiRefObject, IAddressable, IEquatable<bhkSimpleShapePhantom>
Implements
Inherited Members

Constructors

bhkSimpleShapePhantom()

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

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

public bool Equals(bhkSimpleShapePhantom other)

Parameters

other bhkSimpleShapePhantom

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(bhkSimpleShapePhantom, bhkSimpleShapePhantom)

Whether both views are over one address.

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

Parameters

left bhkSimpleShapePhantom
right bhkSimpleShapePhantom

Returns

bool

implicit operator NiRefObject(bhkSimpleShapePhantom)

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

public static implicit operator NiRefObject(bhkSimpleShapePhantom view)

Parameters

view bhkSimpleShapePhantom

Returns

NiRefObject

operator !=(bhkSimpleShapePhantom, bhkSimpleShapePhantom)

Whether the views are over different addresses.

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

Parameters

left bhkSimpleShapePhantom
right bhkSimpleShapePhantom

Returns

bool