Esempio n. 1
0
                    /// <summary>
                    /// Set a HashValueBehaviour value for the given key.
                    /// </summary>
                    public bool SetVariable(string key, HashValueBehaviour value)
                    {
                        var variable = GetVariable(key);

                        if (variable == null)
                        {
                            return(false);
                        }

                        variable.SetValue(value);
                        return(true);
                    }
Esempio n. 2
0
 /// <summary>
 /// Set a HashValueBehaviour value for the given locale key.
 /// </summary>
 public bool SetVariable(string key, HashValueBehaviour value)
 {
     return(useVariables && variables.SetVariable(key, value));
 }
Esempio n. 3
0
 /// <summary>
 /// Set this HashValueBehaviour value.
 /// </summary>
 public void SetValue(HashValueBehaviour value)
 {
     type = Type.HashValue;
     hash = value;
 }
Esempio n. 4
0
				/// <summary>
				/// Set a HashValueBehaviour value for the given locale key.
				/// </summary>
				public bool SetVariable (string key, HashValueBehaviour value)
				{
					return useVariables && variables.SetVariable (key, value);
				}
Esempio n. 5
0
					/// <summary>
					/// Set this HashValueBehaviour value.
					/// </summary>
					public void SetValue (HashValueBehaviour value)
					{
						type = Type.HashValue;
						hash = value;
					}
Esempio n. 6
0
					/// <summary>
					/// Set a HashValueBehaviour value for the given key.
					/// </summary>
					public bool SetVariable (string key, HashValueBehaviour value)
					{
						var variable = GetVariable (key);
						if (variable == null)
							return false;
						
						variable.SetValue (value);
						return true;
					}