Class TimeInfo
- Namespace
- RustPlusApi.Data
- Assembly
- RustPlusApi.dll
In-game time and day/night cycle parameters returned by GetTimeAsync.
public sealed record TimeInfo : IEquatable<TimeInfo>
- Inheritance
-
TimeInfo
- Implements
- Inherited Members
Properties
DayLengthMinutes
Real-time length of a full in-game day, in minutes.
public float DayLengthMinutes { get; init; }
Property Value
Sunrise
In-game hour at which the sun rises (0–24 scale).
public float Sunrise { get; init; }
Property Value
Sunset
In-game hour at which the sun sets (0–24 scale).
public float Sunset { get; init; }
Property Value
Time
Current in-game time of day (0–24 scale).
public float Time { get; init; }
Property Value
TimeScale
Multiplier that controls how fast in-game time advances relative to real time.
public float TimeScale { get; init; }