using System; namespace Robust.Shared.Configuration { /// /// Extra flags for changing the behavior of a config var. /// [Flags] public enum CVar : short { /// /// No special flags. /// NONE = 0, /// /// Debug vars that are considered 'cheating' to change. /// CHEAT = 1, /// /// Only the server can change this variable. /// SERVER = 2, /// /// This can only be changed when not connected to a server. /// NOT_CONNECTED = 4, /// /// Changing this var syncs between clients and server. /// REPLICATED = 8, /// /// Non-default values are saved to the configuration file. /// ARCHIVE = 16, /// /// Changing this var on the server notifies all clients, does nothing client-side. /// NOTIFY = 32, /// /// Ignore registration of this cvar on the client. /// /// /// This is intended to aid shared code. /// SERVERONLY = 64, /// /// Ignore registration of this cvar on the server. /// /// /// This is intended to aid shared code. /// CLIENTONLY = 128 } }