namespace Content.Server.DeviceNetwork { /// /// A collection of constants to help with using device networks /// public static class DeviceNetworkConstants { #region Commands /// /// The key for command names /// E.g. [DeviceNetworkConstants.Command] = "ping" /// public const string Command = "command"; /// /// The command for setting a devices state /// E.g. to turn a light on or off /// public const string CmdSetState = "set_state"; /// /// The command for a device that just updated its state /// E.g. suit sensors broadcasting owners vitals state /// public const string CmdUpdatedState = "updated_state"; #endregion #region SetState /// /// Used with the command to turn a device on or off /// public const string StateEnabled = "state_enabled"; #endregion } }