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
IComponent, INetSerializable
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
GameDaysPassedNotifyChanged(int)
public void GameDaysPassedNotifyChanged(int id)
Parameters
id int
GameHourNotifyChanged(int)
public void GameHourNotifyChanged(int id)
Parameters
id int
GetChangeComponent()
public Type GetChangeComponent()
Returns
Serialize(NetDataWriter)
public void Serialize(NetDataWriter writer)
Parameters
writer NetDataWriter
TimeScaleNotifyChanged(int)
public void TimeScaleNotifyChanged(int id)
Parameters
id int