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
Fields
ActionId
The id of the action within the action set.
public int ActionId
Field Value
ActionSet
The action set that this action belongs to.
public int ActionSet
Field Value
Methods
Equals(ActionInfo)
public bool Equals(ActionInfo other)
Parameters
other
ActionInfo
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
obj
objectThe 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
ActionInforight
ActionInfo
Returns
operator ==(ActionInfo, (int, int))
public static bool operator ==(ActionInfo left, (int, int) right)
Parameters
left
ActionInforight
(int, int)
Returns
operator ==((int, int), ActionInfo)
public static bool operator ==((int, int) left, ActionInfo right)
Parameters
left
(int, int)right
ActionInfo
Returns
operator !=(ActionInfo, ActionInfo)
public static bool operator !=(ActionInfo left, ActionInfo right)
Parameters
left
ActionInforight
ActionInfo
Returns
operator !=(ActionInfo, (int, int))
public static bool operator !=(ActionInfo left, (int, int) right)
Parameters
left
ActionInforight
(int, int)
Returns
operator !=((int, int), ActionInfo)
public static bool operator !=((int, int) left, ActionInfo right)
Parameters
left
(int, int)right
ActionInfo