Struct AnimationId
- Namespace
- SharpPluginLoader.Core.Components
- Assembly
- SharpPluginLoader.Core.dll
Represents an animation id. This is a combination of the LMT and the actual animation id.
public readonly struct AnimationId
- Inherited Members
Constructors
AnimationId(uint)
public AnimationId(uint fullId)
Parameters
fullIduint
AnimationId(uint, uint)
public AnimationId(uint lmt, uint id)
Parameters
Properties
FullId
The full id of the animation.
public uint FullId { get; }
Property Value
Id
The actual id of the animation.
public uint Id { get; }
Property Value
Lmt
The LMT the animation targets
public uint Lmt { get; }
Property Value
Methods
Equals(AnimationId)
public bool Equals(AnimationId other)
Parameters
otherAnimationId
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand 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 ==(AnimationId, AnimationId)
public static bool operator ==(AnimationId a, AnimationId b)
Parameters
Returns
implicit operator uint(AnimationId)
public static implicit operator uint(AnimationId id)
Parameters
idAnimationId
Returns
implicit operator AnimationId(uint)
public static implicit operator AnimationId(uint id)
Parameters
iduint
Returns
operator !=(AnimationId, AnimationId)
public static bool operator !=(AnimationId a, AnimationId b)