Skip to main content
Version: 0.4.1

Struct AreaScopeComponent

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

Holds information about the area entity, which is a scope for other entities.

public struct AreaScopeComponent : IIndexedComponent<AreaId>, IComponent, INetSerializable

Implements​

IIndexedComponent<AreaId>, IComponent, INetSerializable

Inherited Members​

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

Properties​

AreaId​

public AreaId AreaId { get; set; }

Property Value​

AreaId

MasterClient​

public PlayerId MasterClient { get; set; }

Property Value​

PlayerId

Methods​

AreaIdNotifyChanged(int)​

public void AreaIdNotifyChanged(int id)

Parameters​

id int

Assign(in AreaScopeComponent)​

public void Assign(in AreaScopeComponent value)

Parameters​

value AreaScopeComponent

Deserialize(NetDataReader)​

public void Deserialize(NetDataReader reader)

Parameters​

reader NetDataReader

GetChangeComponent()​

public Type GetChangeComponent()

Returns​

Type

GetIndexedValue()​

Returns the value of the indexed component field.

public AreaId GetIndexedValue()

Returns​

AreaId

MasterClientNotifyChanged(int)​

public void MasterClientNotifyChanged(int id)

Parameters​

id int

Serialize(NetDataWriter)​

public void Serialize(NetDataWriter writer)

Parameters​

writer NetDataWriter

  • Properties
    • AreaId
    • MasterClient
  • Methods
    • AreaIdNotifyChanged(int)
    • Assign(in AreaScopeComponent)
    • Deserialize(NetDataReader)
    • GetChangeComponent()
    • GetIndexedValue()
    • MasterClientNotifyChanged(int)
    • Serialize(NetDataWriter)