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
DamageTaken
public DifficultyTier DamageTaken { get; set; }
Property Value
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
Serialize(NetDataWriter)
public void Serialize(NetDataWriter writer)
Parameters
writer NetDataWriter