public void CopyCvarsToDictionary(idDict dict, CvarFlags flags) { dict.Clear(); foreach (KeyValuePair <string, idInternalCvar> cvar in _cvarList) { if ((cvar.Value.Flags & flags) != 0) { dict.Set(cvar.Value.Name, cvar.ToString()); } } }
public void CopyCvarsToDictionary(idDict dict, CvarFlags flags) { dict.Clear(); foreach(KeyValuePair<string, idInternalCvar> cvar in _cvarList) { if((cvar.Value.Flags & flags) != 0) { dict.Set(cvar.Value.Name, cvar.ToString()); } } }