Table of Contents

Struct IFunction

Namespace
SkyrimForge.Game.BSScript
Assembly
SkyrimForge.dll

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

public readonly struct IFunction : IBSIntrusiveRefCounted, IAddressable, IEquatable<IFunction>
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(IFunction)

public bool Equals(IFunction other)

Parameters

other IFunction

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(IFunction, IFunction)

Whether both views are over one address.

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

Parameters

left IFunction
right IFunction

Returns

bool

operator !=(IFunction, IFunction)

Whether the views are over different addresses.

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

Parameters

left IFunction
right IFunction

Returns

bool