跳到主要内容
版本:0.2.0

Struct CellScopeComponent

Namespace: ReadyM.Api.Multiplayer.ECS.Components
Assembly: ReadyM.Api.Multiplayer.dll

public struct CellScopeComponent : IIndexedComponent<FullCellId>, IComponent, INetSerializable

Implements​

IIndexedComponent<FullCellId>, IComponent, INetSerializable

Inherited Members​

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties​

FullCellId​

public FullCellId FullCellId { get; set; }

Property Value​

FullCellId

MasterClient​

public PlayerId MasterClient { get; set; }

Property Value​

PlayerId

Methods​

Assign(in CellScopeComponent)​

public void Assign(in CellScopeComponent value)

Parameters​

value CellScopeComponent

Deserialize(NetDataReader)​

public void Deserialize(NetDataReader reader)

Parameters​

reader NetDataReader

FullCellIdNotifyChanged(int)​

public void FullCellIdNotifyChanged(int id)

Parameters​

id int

GetChangeComponent()​

public Type GetChangeComponent()

Returns​

Type

GetIndexedValue()​

Returns the value of the indexed component field.

public FullCellId GetIndexedValue()

Returns​

FullCellId

MasterClientNotifyChanged(int)​

public void MasterClientNotifyChanged(int id)

Parameters​

id int

Serialize(NetDataWriter)​

public void Serialize(NetDataWriter writer)

Parameters​

writer NetDataWriter

  • Properties
    • FullCellId
    • MasterClient
  • Methods
    • Assign(in CellScopeComponent)
    • Deserialize(NetDataReader)
    • FullCellIdNotifyChanged(int)
    • GetChangeComponent()
    • GetIndexedValue()
    • MasterClientNotifyChanged(int)
    • Serialize(NetDataWriter)