Skip to main content

RequestServerDiagnosticsMessage

A static class in Root.Township, Alta.Networking.

Message a client sends to turn server diagnostics on or off for itself.

Fields​

1 private and internal field
MemberWhat it is
private static bool isRequestingBacking field for IsRequesting.

Properties​

MemberWhat it is
static bool IsRequesting { get; }Whether the last message asked for diagnostics.

Methods​

MemberWhat it is
static void Set(bool isRequestingServerDiagnostics)Sets whether to ask for diagnostics in the next message.
1 private and internal method
MemberWhat it is
internal static void Serialize(Connection connection, Stream stream)Writes or reads the flag; on read the server records it in ServerDiagnosticsManager.PlayersToSendTo.