跳到主要内容
版本:0.1.1

Struct ParentCellComponent

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

Holds the player character's parent cell information.

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

IsExterior​

public byte IsExterior { get; set; }

Property Value​

byte

X​

public int X { get; set; }

Property Value​

int

Y​

public int Y { get; set; }

Property Value​

int

Methods​

Assign(in ParentCellComponent)​

public void Assign(in ParentCellComponent value)

Parameters​

value ParentCellComponent

Deserialize(NetDataReader)​

public void Deserialize(NetDataReader reader)

Parameters​

reader NetDataReader

GetIsExterior()​

public bool GetIsExterior()

Returns​

bool

Serialize(NetDataWriter)​

public void Serialize(NetDataWriter writer)

Parameters​

writer NetDataWriter

SetIsExterior(bool)​

public void SetIsExterior(bool value)

Parameters​

value bool

  • Properties
    • IsExterior
    • X
    • Y
  • Methods
    • Assign(in ParentCellComponent)
    • Deserialize(NetDataReader)
    • GetIsExterior()
    • Serialize(NetDataWriter)
    • SetIsExterior(bool)