Table of Contents

Struct hkpConstraintData.ConstraintInfo

Namespace
SkyrimForge.Game
Assembly
SkyrimForge.dll

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

public readonly struct hkpConstraintData.ConstraintInfo : IhkpConstraintInfo, IAddressable, IEquatable<hkpConstraintData.ConstraintInfo>
Implements
Inherited Members

Constructors

ConstraintInfo()

Reports a compile-time error, since a view created with new has no address.

[Obsolete("Creates a view with no address. Use hkpConstraintData.ConstraintInfo.New(), which allocates one on the game's heap.", true)]
public ConstraintInfo()

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

public bool Equals(hkpConstraintData.ConstraintInfo other)

Parameters

other hkpConstraintData.ConstraintInfo

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(ConstraintInfo, ConstraintInfo)

Whether both views are over one address.

public static bool operator ==(hkpConstraintData.ConstraintInfo left, hkpConstraintData.ConstraintInfo right)

Parameters

left hkpConstraintData.ConstraintInfo
right hkpConstraintData.ConstraintInfo

Returns

bool

implicit operator hkpConstraintInfo(ConstraintInfo)

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

public static implicit operator hkpConstraintInfo(hkpConstraintData.ConstraintInfo view)

Parameters

view hkpConstraintData.ConstraintInfo

Returns

hkpConstraintInfo

operator !=(ConstraintInfo, ConstraintInfo)

Whether the views are over different addresses.

public static bool operator !=(hkpConstraintData.ConstraintInfo left, hkpConstraintData.ConstraintInfo right)

Parameters

left hkpConstraintData.ConstraintInfo
right hkpConstraintData.ConstraintInfo

Returns

bool