Class ServerConfigResult
- Namespace
- Unity.Multiplayer.Core
What Apply(string, NetConfig, ServerSettings) found.
public sealed class ServerConfigResult
- Inheritance
-
ServerConfigResult
- Inherited Members
Constructors
ServerConfigResult(IReadOnlyList<string>, IReadOnlyList<string>)
Creates a result.
public ServerConfigResult(IReadOnlyList<string> errors, IReadOnlyList<string> warnings)
Parameters
errorsIReadOnlyList<string>warningsIReadOnlyList<string>
Properties
Errors
One message per setting that could not be applied. Never null.
public IReadOnlyList<string> Errors { get; }
Property Value
IsValid
True when Errors is empty.
public bool IsValid { get; }
Property Value
Warnings
One message per key that was ignored. Never null.
public IReadOnlyList<string> Warnings { get; }