Struct AnimationComponent
Namespace: ReadyM.Wukong.Common.ECS.Components
Assembly: ReadyM.Wukong.Common.dll
Holds entity movement animation state.
public struct AnimationComponent : 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
MoveAcceleration
public Vector3 MoveAcceleration { get; set; }
Property Value
MoveSpeedLevel
public byte MoveSpeedLevel { get; set; }
Property Value
MoveSpeedState
public byte MoveSpeedState { get; set; }
Property Value
ShouldWaitRotateFinished
public bool ShouldWaitRotateFinished { get; set; }
Property Value
Velocity
public Vector3 Velocity { get; set; }
Property Value
Methods
Assign(in AnimationComponent)
public void Assign(in AnimationComponent value)
Parameters
value AnimationComponent
Deserialize(NetDataReader)
public void Deserialize(NetDataReader reader)
Parameters
reader NetDataReader
GetChangeComponent()
public Type GetChangeComponent()
Returns
MoveAccelerationNotifyChanged(int)
public void MoveAccelerationNotifyChanged(int id)
Parameters
id int
MoveSpeedLevelNotifyChanged(int)
public void MoveSpeedLevelNotifyChanged(int id)
Parameters
id int
MoveSpeedStateNotifyChanged(int)
public void MoveSpeedStateNotifyChanged(int id)
Parameters
id int
Serialize(NetDataWriter)
public void Serialize(NetDataWriter writer)
Parameters
writer NetDataWriter
ShouldWaitRotateFinishedNotifyChanged(int)
public void ShouldWaitRotateFinishedNotifyChanged(int id)
Parameters
id int
VelocityNotifyChanged(int)
public void VelocityNotifyChanged(int id)
Parameters
id int