Пример #1
0
        internal CMsg_CVars ExposeCVars()
        {
            var exposed = new CMsg_CVars();

            exposed.cvars.AddRange(CVars.Select(kv =>
            {
                var var   = new CMsg_CVars.CVar();
                var.name  = kv.Key;
                var.value = kv.Value;
                return(var);
            }));

            return(exposed);
        }