Table of Contents

Struct hkpSimpleContactConstraintData

Namespace
SkyrimForge.Game
Assembly
SkyrimForge.dll

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

public readonly struct hkpSimpleContactConstraintData : IhkpConstraintData, IhkReferencedObject, IhkBaseObject, IAddressable, IEquatable<hkpSimpleContactConstraintData>
Implements
Inherited Members

Constructors

hkpSimpleContactConstraintData()

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

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

public bool Equals(hkpSimpleContactConstraintData other)

Parameters

other hkpSimpleContactConstraintData

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(hkpSimpleContactConstraintData, hkpSimpleContactConstraintData)

Whether both views are over one address.

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

Parameters

left hkpSimpleContactConstraintData
right hkpSimpleContactConstraintData

Returns

bool

implicit operator hkBaseObject(hkpSimpleContactConstraintData)

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

public static implicit operator hkBaseObject(hkpSimpleContactConstraintData view)

Parameters

view hkpSimpleContactConstraintData

Returns

hkBaseObject

implicit operator hkReferencedObject(hkpSimpleContactConstraintData)

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

public static implicit operator hkReferencedObject(hkpSimpleContactConstraintData view)

Parameters

view hkpSimpleContactConstraintData

Returns

hkReferencedObject

implicit operator hkpConstraintData(hkpSimpleContactConstraintData)

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

public static implicit operator hkpConstraintData(hkpSimpleContactConstraintData view)

Parameters

view hkpSimpleContactConstraintData

Returns

hkpConstraintData

operator !=(hkpSimpleContactConstraintData, hkpSimpleContactConstraintData)

Whether the views are over different addresses.

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

Parameters

left hkpSimpleContactConstraintData
right hkpSimpleContactConstraintData

Returns

bool