Struct TimeSkipRequestEvent
Namespace: OblivionMP.SDK.Common.Events
Assembly: OblivionMP.SDK.Common.dll
A player confirmed the wait menu, by waiting or sleeping in a bed. The SDK skips the world's time for it only when
the server's AllowTimeSkip is on; a server mod may handle it either way.
[NetworkedEvent(EventScope.Server, Policy.Anyone)]
public struct TimeSkipRequestEvent
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
Code
This event's code on the wire, once the host has placed its mod's block.
public RelayMessageCode Code { get; }
Property Value
RelayMessageCode
Hours
The game hours the player chose, 1 to 24 in the game's menu.
public int Hours { readonly get; set; }
Property Value
Sleeping
Whether the player is sleeping in a bed rather than waiting.
public bool Sleeping { readonly get; set; }