Skip to main content
Version: 0.4.1

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​

AttributesState

BeguilingChantEligible​

public bool BeguilingChantEligible { get; set; }

Property Value​

bool

Equipment​

public EquipmentState Equipment { get; set; }

Property Value​

EquipmentState

InJump​

public bool InJump { get; set; }

Property Value​

bool

IsAttacking​

public bool IsAttacking { get; set; }

Property Value​

bool

IsFalling​

public bool IsFalling { get; set; }

Property Value​

bool

IsFlying​

public bool IsFlying { get; set; }

Property Value​

bool

IsLandingMove​

public bool IsLandingMove { get; set; }

Property Value​

bool

IsSpectator​

public bool IsSpectator { get; set; }

Property Value​

bool

IsStandRotate​

public bool IsStandRotate { get; set; }

Property Value​

bool

IsTransformed​

public bool IsTransformed { get; set; }

Property Value​

bool

MoveAcceleration​

public Vector3 MoveAcceleration { get; set; }

Property Value​

Vector3

MoveSpeedLevel​

public MoveSpeedLevel MoveSpeedLevel { get; set; }

Property Value​

MoveSpeedLevel

MoveSpeedState​

public MoveSpeedLevel MoveSpeedState { get; set; }

Property Value​

MoveSpeedLevel

OrientRotationToMovement​

public bool OrientRotationToMovement { get; set; }

Property Value​

bool

PlayerId​

public PlayerId PlayerId { get; set; }

Property Value​

PlayerId

RebirthPointId​

public int RebirthPointId { get; set; }

Property Value​

int

ShouldWaitRotateFinished​

public bool ShouldWaitRotateFinished { get; set; }

Property Value​

bool

SpectatorReason​

public SpectatorReason SpectatorReason { get; set; }

Property Value​

SpectatorReason

TurnInplaceRemainAngle​

public float TurnInplaceRemainAngle { get; set; }

Property Value​

float

TurnInplaceTargetRotation​

public Vector3 TurnInplaceTargetRotation { get; set; }

Property Value​

Vector3

Velocity​

public Vector3 Velocity { get; set; }

Property Value​

Vector3

WaitingSequenceId​

public int WaitingSequenceId { get; set; }

Property Value​

int

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​

Type

GetIndexedValue()​

Returns the value of the indexed component field.

public PlayerId GetIndexedValue()

Returns​

PlayerId

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

  • Constructors
    • MainCharacterComponent()
  • Properties
    • Attributes
    • BeguilingChantEligible
    • Equipment
    • InJump
    • IsAttacking
    • IsFalling
    • IsFlying
    • IsLandingMove
    • IsSpectator
    • IsStandRotate
    • IsTransformed
    • MoveAcceleration
    • MoveSpeedLevel
    • MoveSpeedState
    • OrientRotationToMovement
    • PlayerId
    • RebirthPointId
    • ShouldWaitRotateFinished
    • SpectatorReason
    • TurnInplaceRemainAngle
    • TurnInplaceTargetRotation
    • Velocity
    • WaitingSequenceId
  • Methods
    • Assign(in MainCharacterComponent)
    • AttributesNotifyChanged(int)
    • BeguilingChantEligibleNotifyChanged(int)
    • Deserialize(NetDataReader)
    • EquipmentNotifyChanged(int)
    • GetChangeComponent()
    • GetIndexedValue()
    • InJumpNotifyChanged(int)
    • IsAttackingNotifyChanged(int)
    • IsFallingNotifyChanged(int)
    • IsFlyingNotifyChanged(int)
    • IsLandingMoveNotifyChanged(int)
    • IsSpectatorNotifyChanged(int)
    • IsStandRotateNotifyChanged(int)
    • IsTransformedNotifyChanged(int)
    • MoveAccelerationNotifyChanged(int)
    • MoveSpeedLevelNotifyChanged(int)
    • MoveSpeedStateNotifyChanged(int)
    • OrientRotationToMovementNotifyChanged(int)
    • PlayerIdNotifyChanged(int)
    • RebirthPointIdNotifyChanged(int)
    • Serialize(NetDataWriter)
    • ShouldWaitRotateFinishedNotifyChanged(int)
    • SpectatorReasonNotifyChanged(int)
    • TurnInplaceRemainAngleNotifyChanged(int)
    • TurnInplaceTargetRotationNotifyChanged(int)
    • VelocityNotifyChanged(int)
    • WaitingSequenceIdNotifyChanged(int)