Skip to main content
Version: 0.1.0

Struct VitalsComponent

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

Holds the player character's vital attributes.

public struct VitalsComponent : 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

Fatigue

public float Fatigue { get; set; }

Property Value

float

FatigueBase

public float FatigueBase { get; set; }

Property Value

float

Hp

public float Hp { get; set; }

Property Value

float

HpBase

public float HpBase { get; set; }

Property Value

float

IsDead

public bool IsDead { get; set; }

Property Value

bool

Magicka

public float Magicka { get; set; }

Property Value

float

MagickaBase

public float MagickaBase { get; set; }

Property Value

float

Methods

Assign(in VitalsComponent)

public void Assign(in VitalsComponent value)

Parameters

value VitalsComponent

Deserialize(NetDataReader)

public void Deserialize(NetDataReader reader)

Parameters

reader NetDataReader

Serialize(NetDataWriter)

public void Serialize(NetDataWriter writer)

Parameters

writer NetDataWriter

  • Properties
    • Fatigue
    • FatigueBase
    • Hp
    • HpBase
    • IsDead
    • Magicka
    • MagickaBase
  • Methods
    • Assign(in VitalsComponent)
    • Deserialize(NetDataReader)
    • Serialize(NetDataWriter)