idTech4.UI.idWinString.Set C# (CSharp) Method

Set() public method

public Set ( string value ) : void
value string
return void
		public override void Set(string value)
		{
			_data = value;

			if(_guiDict != null)
			{
				_guiDict.Set(this.Name, _data);
			}
		}

Usage Example

示例#1
0
        private void UpdateVariables(bool read, bool force)
        {
            if ((force == true) || (_liveUpdate == true))
            {
                if ((_cvar != null) && (_cvarStr.NeedsUpdate == true))
                {
                    if (read == true)
                    {
                        _cvarStr.Set(_cvarStr.ToString());
                    }
                    else
                    {
                        _cvar.Set(_cvarStr.ToString());
                    }
                }

                if ((read == false) && (_guiStr.NeedsUpdate == true))
                {
                    _guiStr.Set(_currentChoice.ToString());
                }
            }
        }
All Usage Examples Of idTech4.UI.idWinString::Set