Skip to main content

ServerDiagnosticsDisplay

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​

MemberWhat it is
ServerDiagnosticsDisplay()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Properties​

MemberWhat it is
protected override string Title { get; }"Server Diagnostics".

Methods​

MemberWhat 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.