csharp
public sealed class PlayerSessionOne running player process.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (5)
public PlayerRole RoleWhat it is for.
public int ProcessIdIts process id, for a log line and for the session panel.
public int InspectorPortThe port the remote inspector attaches on, or zero.
public bool IsRunningWhether it is still running.
public int? ExitCodeWhat it exited with, or while it is running.
Events (1)
public Action<PlayerSession>? EndedRaised when the process ends, however it ended.
Methods (2)
public void Stop(TimeSpan grace = default(TimeSpan))Asks it to close, and kills it if it will not.
public void Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Used by (1)
- PlayerSessionsVixen.Editor.SceneView