Class ServerStartupResult
- Namespace
- Unity.Multiplayer.Core
What Load(NetConfig, IReadOnlyList<string>, string, Func<string, string>, Func<string, string>) found.
public sealed class ServerStartupResult
- Inheritance
-
ServerStartupResult
- Inherited Members
Constructors
ServerStartupResult(ServerSettings, ServerPaths, string, NetCommandLineResult, IReadOnlyList<string>, IReadOnlyList<string>)
Creates a result.
public ServerStartupResult(ServerSettings settings, ServerPaths paths, string configPath, NetCommandLineResult commandLine, IReadOnlyList<string> errors, IReadOnlyList<string> warnings)
Parameters
settingsServerSettingspathsServerPathsconfigPathstringcommandLineNetCommandLineResulterrorsIReadOnlyList<string>warningsIReadOnlyList<string>
Properties
CommandLine
What the session command line held.
public NetCommandLineResult CommandLine { get; }
Property Value
ConfigPath
The settings file read, or null when there was none.
public string ConfigPath { get; }
Property Value
Errors
Every problem in any layer, and in the final settings. Never null.
public IReadOnlyList<string> Errors { get; }
Property Value
IsValid
True when Errors is empty.
public bool IsValid { get; }
Property Value
Paths
The package folder, logs and saves.
public ServerPaths Paths { get; }
Property Value
Settings
The package settings.
public ServerSettings Settings { get; }
Property Value
Warnings
Ignored settings-file keys. Never null.
public IReadOnlyList<string> Warnings { get; }