UpdateCheat() private method

private UpdateCheat ( ) : void
return void
Exemplo n.º 1
0
        private void SetInternal(string name, string value, CvarFlags flags)
        {
            idInternalCvar intern = FindInternal(name);

            if (intern != null)
            {
                intern.SetStringInternal(value);
                intern.Flags |= flags & ~CvarFlags.Static;
                intern.UpdateCheat();
            }
            else
            {
                idConsole.Warning("Tried to set unknown cvar '{0}'", name);

                intern = new idInternalCvar(name, value, flags);

                _cvarList.Add(intern.Name, intern);
            }
        }