Skip to main content
Version: 0.4.1

Struct MonsterAnimationComponent

Namespace: ReadyM.Wukong.Common.ECS.Components
Assembly: ReadyM.Wukong.Common.dll

Holds the state of the monster's animation.

public struct MonsterAnimationComponent : IComponent, INetSerializable

Implements​

IComponent, INetSerializable

Inherited Members​

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties​

AnimationPlayRate​

public float AnimationPlayRate { get; set; }

Property Value​

float

MoveAiType​

public byte MoveAiType { get; set; }

Property Value​

byte

Methods​

AnimationPlayRateNotifyChanged(int)​

public void AnimationPlayRateNotifyChanged(int id)

Parameters​

id int

Assign(in MonsterAnimationComponent)​

public void Assign(in MonsterAnimationComponent value)

Parameters​

value MonsterAnimationComponent

Deserialize(NetDataReader)​

public void Deserialize(NetDataReader reader)

Parameters​

reader NetDataReader

GetChangeComponent()​

public Type GetChangeComponent()

Returns​

Type

MoveAiTypeNotifyChanged(int)​

public void MoveAiTypeNotifyChanged(int id)

Parameters​

id int

Serialize(NetDataWriter)​

public void Serialize(NetDataWriter writer)

Parameters​

writer NetDataWriter

  • Properties
    • AnimationPlayRate
    • MoveAiType
  • Methods
    • AnimationPlayRateNotifyChanged(int)
    • Assign(in MonsterAnimationComponent)
    • Deserialize(NetDataReader)
    • GetChangeComponent()
    • MoveAiTypeNotifyChanged(int)
    • Serialize(NetDataWriter)