跳到主要内容
版本:0.2.0

Struct PlayerActivityComponent

Namespace: ReadyM.Relay.Common.Oblivion.ECS.Components
Assembly: ReadyM.Relay.Common.Oblivion.dll

Holds the player character's activity flags.

public struct PlayerActivityComponent : 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​

DetectedByOtherPlayer​

public bool DetectedByOtherPlayer { get; set; }

Property Value​

bool

InCombat​

public bool InCombat { get; set; }

Property Value​

bool

InDialogue​

public bool InDialogue { get; set; }

Property Value​

bool

Methods​

Assign(in PlayerActivityComponent)​

public void Assign(in PlayerActivityComponent value)

Parameters​

value PlayerActivityComponent

Deserialize(NetDataReader)​

public void Deserialize(NetDataReader reader)

Parameters​

reader NetDataReader

DetectedByOtherPlayerNotifyChanged(int)​

public void DetectedByOtherPlayerNotifyChanged(int id)

Parameters​

id int

GetChangeComponent()​

public Type GetChangeComponent()

Returns​

Type

InCombatNotifyChanged(int)​

public void InCombatNotifyChanged(int id)

Parameters​

id int

InDialogueNotifyChanged(int)​

public void InDialogueNotifyChanged(int id)

Parameters​

id int

Serialize(NetDataWriter)​

public void Serialize(NetDataWriter writer)

Parameters​

writer NetDataWriter

  • Properties
    • DetectedByOtherPlayer
    • InCombat
    • InDialogue
  • Methods
    • Assign(in PlayerActivityComponent)
    • Deserialize(NetDataReader)
    • DetectedByOtherPlayerNotifyChanged(int)
    • GetChangeComponent()
    • InCombatNotifyChanged(int)
    • InDialogueNotifyChanged(int)
    • Serialize(NetDataWriter)