csharp
public static class LiveRunnerWhat each `vixen live` verb prints. Doc 27 § Diagnostics, in a terminal.
Remarks
⚠ Every method takes its writer rather than reaching for Console, which is the rule the rest of this CLI already follows: a command whose behaviour can only be checked by running a process is one whose behaviour is not checked.
Methods (4)
public static Task<int> StatusAsync(ILiveOperations operations, ShardKey key, TextWriter writer, CancellationToken cancellation)Prints a map's fleet — doc 27 § Diagnostics' fleet view, as a table.
public static Task<int> DrainAsync(ILiveOperations operations, ShardId shard, string reason, TextWriter writer, CancellationToken cancellation)Tells a shard to move its players out.
public static Task<int> ExplainAsync(ILiveOperations operations, ShardKey key, PlayerKey player, TextWriter writer, CancellationToken cancellation)Why a player went where they went.
public static Task<int> UpgradeAsync(ILiveOperations operations, string region, RealmVersion target, TextWriter writer, CancellationToken cancellation)Reads or moves a region's rollout target.
Used by (1)
- VixenCommandVixen.Cli