Skip to main content
Version: 0.2.0

Struct DifficultyComponent

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

Holds the difficulty the server dictates for every client in the session.

public struct DifficultyComponent : IWorldAuthoritative, IComponent, INetSerializable

Implements

IWorldAuthoritative, IComponent, INetSerializable

Inherited Members

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

Properties

DamageDealt

public DifficultyTier DamageDealt { get; set; }

Property Value

DifficultyTier

DamageTaken

public DifficultyTier DamageTaken { get; set; }

Property Value

DifficultyTier

Methods

Assign(in DifficultyComponent)

public void Assign(in DifficultyComponent value)

Parameters

value DifficultyComponent

DamageDealtNotifyChanged(int)

public void DamageDealtNotifyChanged(int id)

Parameters

id int

DamageTakenNotifyChanged(int)

public void DamageTakenNotifyChanged(int id)

Parameters

id int

Deserialize(NetDataReader)

public void Deserialize(NetDataReader reader)

Parameters

reader NetDataReader

GetChangeComponent()

public Type GetChangeComponent()

Returns

Type

Serialize(NetDataWriter)

public void Serialize(NetDataWriter writer)

Parameters

writer NetDataWriter

  • Properties
    • DamageDealt
    • DamageTaken
  • Methods
    • Assign(in DifficultyComponent)
    • DamageDealtNotifyChanged(int)
    • DamageTakenNotifyChanged(int)
    • Deserialize(NetDataReader)
    • GetChangeComponent()
    • Serialize(NetDataWriter)