跳到主要内容
版本:0.3.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​

Assign(in MonsterAnimationComponent)​

public void Assign(in MonsterAnimationComponent value)

Parameters​

value MonsterAnimationComponent

Deserialize(NetDataReader)​

public void Deserialize(NetDataReader reader)

Parameters​

reader NetDataReader

Serialize(NetDataWriter)​

public void Serialize(NetDataWriter writer)

Parameters​

writer NetDataWriter

  • Properties
    • AnimationPlayRate
    • MoveAiType
  • Methods
    • Assign(in MonsterAnimationComponent)
    • Deserialize(NetDataReader)
    • Serialize(NetDataWriter)