Table of Contents

Struct MiscObject

Namespace
SkyrimForge.Game
Assembly
SkyrimForge.dll

A view over RE::TESObjectMISC. It stores the address and nothing else, and its members are extensions.

public readonly struct MiscObject : IMiscObject, ITESBoundObject, ITESObject, IForm, IAddressable, IEquatable<MiscObject>
Implements
Inherited Members

Properties

Exists

Whether the view has an address. A view from default, from new, or passed by the game to a replaced function can have none.

public bool Exists { get; }

Property Value

bool

Methods

Equals(MiscObject)

public bool Equals(MiscObject other)

Parameters

other MiscObject

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(MiscObject, MiscObject)

Whether both views are over one address.

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

Parameters

left MiscObject
right MiscObject

Returns

bool

operator !=(MiscObject, MiscObject)

Whether the views are over different addresses.

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

Parameters

left MiscObject
right MiscObject

Returns

bool