Vixen
02b45cc4
csharp
public record class ProcessPlacementOptions

What ProcessPlacement launches, and how patient it is.

Read the guide page for this →

Fields and properties (9)

  • public string Executable

    The realm's executable, or the runtime that runs it.

  • public IReadOnlyList<string> Arguments

    Arguments to put before the encoded RealmSpec, in order.

  • public string? WorkingDirectory

    Where to run them, or for the launcher's own directory.

  • public IReadOnlyDictionary<string, string> Environment

    Variables to add to the launcher's environment.

  • public string Host

    The address clients are given when a spec did not name one.

  • public PortPool Ports

    The range realm ports are taken from.

  • public TimeSpan DrainTimeout

    How long Drain waits for a realm to finish moving its players out before killing it.

  • public TimeSpan StopGrace

    How long Immediate waits after saying so before killing.

  • public Action<RealmInstanceId, string>? Output

    Called with every line a realm writes, for whoever is doing the logging.

Used by (2)

  • ProcessPlacementVixen.Live.Placement.Process
  • ProcessPlacementTestsVixen.Live.Placement.Process.Tests