Struct MainCharacterComponent
Namespace: ReadyM.Wukong.Common.ECS.Components
Assembly: ReadyM.Wukong.Common.dll
Holds the main character state.
public struct MainCharacterComponent : IIndexedComponent<PlayerId>, IComponent, INetSerializable
Implements
IIndexedComponent<PlayerId>, IComponent, INetSerializable
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
MainCharacterComponent()
Holds the main character state.
public MainCharacterComponent()
Properties
Attributes
public AttributesState Attributes { get; set; }
Property Value
BeguilingChantEligible
public bool BeguilingChantEligible { get; set; }
Property Value
Equipment
public EquipmentState Equipment { get; set; }
Property Value
InJump
public bool InJump { get; set; }
Property Value
IsAttacking
public bool IsAttacking { get; set; }
Property Value
IsFalling
public bool IsFalling { get; set; }
Property Value
IsFlying
public bool IsFlying { get; set; }
Property Value
IsLandingMove
public bool IsLandingMove { get; set; }
Property Value
IsSpectator
public bool IsSpectator { get; set; }
Property Value
IsStandRotate
public bool IsStandRotate { get; set; }
Property Value
IsTransformed
public bool IsTransformed { get; set; }
Property Value
MoveAcceleration
public Vector3 MoveAcceleration { get; set; }
Property Value
MoveSpeedLevel
public MoveSpeedLevel MoveSpeedLevel { get; set; }
Property Value
MoveSpeedState
public MoveSpeedLevel MoveSpeedState { get; set; }
Property Value
OrientRotationToMovement
public bool OrientRotationToMovement { get; set; }
Property Value
PlayerId
public PlayerId PlayerId { get; set; }
Property Value
RebirthPointId
public int RebirthPointId { get; set; }
Property Value
ShouldWaitRotateFinished
public bool ShouldWaitRotateFinished { get; set; }
Property Value
SpectatorReason
public SpectatorReason SpectatorReason { get; set; }
Property Value
TurnInplaceRemainAngle
public float TurnInplaceRemainAngle { get; set; }
Property Value
TurnInplaceTargetRotation
public Vector3 TurnInplaceTargetRotation { get; set; }
Property Value
Velocity
public Vector3 Velocity { get; set; }
Property Value
WaitingSequenceId
public int WaitingSequenceId { get; set; }
Property Value
Methods
Assign(in MainCharacterComponent)
public void Assign(in MainCharacterComponent value)
Parameters
value MainCharacterComponent
Deserialize(NetDataReader)
public void Deserialize(NetDataReader reader)
Parameters
reader NetDataReader
GetIndexedValue()
Returns the value of the indexed component field.
public PlayerId GetIndexedValue()
Returns
Serialize(NetDataWriter)
public void Serialize(NetDataWriter writer)
Parameters
writer NetDataWriter