Class SessionState
- Namespace
- Valheim.Testing.Game
- Assembly
- Valheim.Testing.Game.dll
public sealed record SessionState
- Inheritance
-
object
SessionState
Constructors
SessionState(string, string?, bool, bool, bool, bool, bool, bool, bool, bool, string)
public SessionState(string Phase, string? WorldUid, bool WorldPresent, bool WorldReady, bool Server, bool Dedicated, bool LocalPlayer, bool PlayerReady, bool Saving, bool LoadError, string ConnectionStatus)
Parameters
Phase string
WorldUid string
WorldPresent bool
WorldReady bool
Server bool
Dedicated bool
LocalPlayer bool
PlayerReady bool
Saving bool
LoadError bool
ConnectionStatus string
Properties
ConnectionStatus
public string ConnectionStatus { get; init; }
Property Value
- string
Dedicated
public bool Dedicated { get; init; }
Property Value
- bool
LoadError
public bool LoadError { get; init; }
Property Value
- bool
LocalPlayer
public bool LocalPlayer { get; init; }
Property Value
- bool
Phase
public string Phase { get; init; }
Property Value
- string
PlayerReady
public bool PlayerReady { get; init; }
Property Value
- bool
Saving
public bool Saving { get; init; }
Property Value
- bool
Server
public bool Server { get; init; }
Property Value
- bool
WorldPresent
public bool WorldPresent { get; init; }
Property Value
- bool
WorldReady
public bool WorldReady { get; init; }
Property Value
- bool
WorldUid
public string? WorldUid { get; init; }
Property Value
- string
Methods
FromObservation(Observation)
public static SessionState FromObservation(Observation observation)
Parameters
observation Observation
Returns
- SessionState