Class ServerConfigResult

Namespace
Unity.Multiplayer.Core
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

errors IReadOnlyList<string>
warnings IReadOnlyList<string>

Properties

Errors

One message per setting that could not be applied. Never null.

public IReadOnlyList<string> Errors { get; }

Property Value

IReadOnlyList<string>

IsValid

True when Errors is empty.

public bool IsValid { get; }

Property Value

bool

Warnings

One message per key that was ignored. Never null.

public IReadOnlyList<string> Warnings { get; }

Property Value

IReadOnlyList<string>