Table of Contents

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

fullId uint

AnimationId(uint, uint)

public AnimationId(uint lmt, uint id)

Parameters

lmt uint
id uint

Properties

FullId

The full id of the animation.

public uint FullId { get; }

Property Value

uint

Id

The actual id of the animation.

public uint Id { get; }

Property Value

uint

Lmt

The LMT the animation targets

public uint Lmt { get; }

Property Value

uint

Methods

Equals(AnimationId)

public bool Equals(AnimationId other)

Parameters

other AnimationId

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 ==(AnimationId, AnimationId)

public static bool operator ==(AnimationId a, AnimationId b)

Parameters

a AnimationId
b AnimationId

Returns

bool

implicit operator uint(AnimationId)

public static implicit operator uint(AnimationId id)

Parameters

id AnimationId

Returns

uint

implicit operator AnimationId(uint)

public static implicit operator AnimationId(uint id)

Parameters

id uint

Returns

AnimationId

operator !=(AnimationId, AnimationId)

public static bool operator !=(AnimationId a, AnimationId b)

Parameters

a AnimationId
b AnimationId

Returns

bool