Clear() 공개 메소드

public Clear ( ) : void
리턴 void
예제 #1
0
        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());
                }
            }
        }
예제 #2
0
		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());
				}
			}
		}