A class in Root.Township, Alta.Utilities.Profiling.
Client live data display showing the diagnostics text the server sends. It asks the server to start and stop sending when shown and hidden.
Constructors
| Member | What it is |
|---|
ServerDiagnosticsDisplay() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Properties
| Member | What it is |
|---|
protected override string Title { get; } | "Server Diagnostics". |
Methods
| Member | What it is |
|---|
override bool IsValid() | Only valid once the server has sent a non-empty diagnostics message. |
override void RunOnDisable() | Sends a ServerDiagnostics request asking the server to stop sending diagnostics. |
override void RunOnEnable() | Sends a ServerDiagnostics request asking the server to start sending diagnostics. |
protected override string GetData() | Returns ServerDiagnosticsMessage.ServerMessage. |