Table of Contents

Struct ActionInfo

Namespace
SharpPluginLoader.Core.Actions
Assembly
SharpPluginLoader.Core.dll

Represents an action that can be performed by an entity. This is a combination of an action set and an action id.

public struct ActionInfo
Inherited Members

Constructors

ActionInfo(int, int)

public ActionInfo(int actionSet, int actionId)

Parameters

actionSet int
actionId int

Fields

ActionId

The id of the action within the action set.

public int ActionId

Field Value

int

ActionSet

The action set that this action belongs to.

public int ActionSet

Field Value

int

Methods

Equals(ActionInfo)

public bool Equals(ActionInfo other)

Parameters

other ActionInfo

Returns

bool

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

operator ==(ActionInfo, ActionInfo)

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

Parameters

left ActionInfo
right ActionInfo

Returns

bool

operator ==(ActionInfo, (int, int))

public static bool operator ==(ActionInfo left, (int, int) right)

Parameters

left ActionInfo
right (int, int)

Returns

bool

operator ==((int, int), ActionInfo)

public static bool operator ==((int, int) left, ActionInfo right)

Parameters

left (int, int)
right ActionInfo

Returns

bool

operator !=(ActionInfo, ActionInfo)

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

Parameters

left ActionInfo
right ActionInfo

Returns

bool

operator !=(ActionInfo, (int, int))

public static bool operator !=(ActionInfo left, (int, int) right)

Parameters

left ActionInfo
right (int, int)

Returns

bool

operator !=((int, int), ActionInfo)

public static bool operator !=((int, int) left, ActionInfo right)

Parameters

left (int, int)
right ActionInfo

Returns

bool