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
AttributesNotifyChanged(int)
public void AttributesNotifyChanged(int id)
Parameters
id int
BeguilingChantEligibleNotifyChanged(int)
public void BeguilingChantEligibleNotifyChanged(int id)
Parameters
id int
Deserialize(NetDataReader)
public void Deserialize(NetDataReader reader)
Parameters
reader NetDataReader
EquipmentNotifyChanged(int)
public void EquipmentNotifyChanged(int id)
Parameters
id int
GetChangeComponent()
public Type GetChangeComponent()
Returns
GetIndexedValue()
Returns the value of the indexed component field.
public PlayerId GetIndexedValue()
Returns
InJumpNotifyChanged(int)
public void InJumpNotifyChanged(int id)
Parameters
id int
IsAttackingNotifyChanged(int)
public void IsAttackingNotifyChanged(int id)
Parameters
id int
IsFallingNotifyChanged(int)
public void IsFallingNotifyChanged(int id)
Parameters
id int
IsFlyingNotifyChanged(int)
public void IsFlyingNotifyChanged(int id)
Parameters
id int
IsLandingMoveNotifyChanged(int)
public void IsLandingMoveNotifyChanged(int id)
Parameters
id int
IsSpectatorNotifyChanged(int)
public void IsSpectatorNotifyChanged(int id)
Parameters
id int
IsStandRotateNotifyChanged(int)
public void IsStandRotateNotifyChanged(int id)
Parameters
id int
IsTransformedNotifyChanged(int)
public void IsTransformedNotifyChanged(int id)
Parameters
id int
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
OrientRotationToMovementNotifyChanged(int)
public void OrientRotationToMovementNotifyChanged(int id)
Parameters
id int
PlayerIdNotifyChanged(int)
public void PlayerIdNotifyChanged(int id)
Parameters
id int
RebirthPointIdNotifyChanged(int)
public void RebirthPointIdNotifyChanged(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
SpectatorReasonNotifyChanged(int)
public void SpectatorReasonNotifyChanged(int id)
Parameters
id int
TurnInplaceRemainAngleNotifyChanged(int)
public void TurnInplaceRemainAngleNotifyChanged(int id)
Parameters
id int
TurnInplaceTargetRotationNotifyChanged(int)
public void TurnInplaceTargetRotationNotifyChanged(int id)
Parameters
id int
VelocityNotifyChanged(int)
public void VelocityNotifyChanged(int id)
Parameters
id int
WaitingSequenceIdNotifyChanged(int)
public void WaitingSequenceIdNotifyChanged(int id)
Parameters
id int