Example #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);
                    }
Example #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));
 }
Example #3
0
 /// <summary>
 /// Set this HashValueBehaviour value.
 /// </summary>
 public void SetValue(HashValueBehaviour value)
 {
     type = Type.HashValue;
     hash = value;
 }
Example #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);
				}
Example #5
0
					/// <summary>
					/// Set this HashValueBehaviour value.
					/// </summary>
					public void SetValue (HashValueBehaviour value)
					{
						type = Type.HashValue;
						hash = value;
					}
Example #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;
					}