Struct TimeComponent
Namespace: ReadyM.Relay.Common.Oblivion.ECS.Components
Assembly: ReadyM.Relay.Common.Oblivion.dll
Holds the global time state of the game world.
public struct TimeComponent : IComponent, INetSerializable
Implements
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
GameDaysPassed
public float GameDaysPassed { get; set; }
Property Value
GameHour
public float GameHour { get; set; }
Property Value
TimeScale
public float TimeScale { get; set; }
Property Value
Methods
Assign(in TimeComponent)
public void Assign(in TimeComponent value)
Parameters
value TimeComponent
Deserialize(NetDataReader)
public void Deserialize(NetDataReader reader)
Parameters
reader NetDataReader
Serialize(NetDataWriter)
public void Serialize(NetDataWriter writer)
Parameters
writer NetDataWriter