Skip to main content
Version: 0.1.0

Struct MainCharacterComponent

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

Holds the player's ID.

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()

Properties

PlayerId

public PlayerId PlayerId { get; set; }

Property Value

PlayerId

Methods

Assign(in MainCharacterComponent)

public void Assign(in MainCharacterComponent value)

Parameters

value MainCharacterComponent

Deserialize(NetDataReader)

public void Deserialize(NetDataReader reader)

Parameters

reader NetDataReader

GetIndexedValue()

Returns the value of the indexed component field.

public PlayerId GetIndexedValue()

Returns

PlayerId

Serialize(NetDataWriter)

public void Serialize(NetDataWriter writer)

Parameters

writer NetDataWriter

  • Properties
    • PlayerId
  • Methods
    • Assign(in MainCharacterComponent)
    • Deserialize(NetDataReader)
    • GetIndexedValue()
    • Serialize(NetDataWriter)