Describes the Mod Script script type.
This is the script that allows scripting using the custom Mod Script language. It is meant to be a siple scripting language.
Inheritance: IScriptType
Esempio n. 1
0
		/// <summary>
		/// A simple constructor that initializes the object with the given values.
		/// </summary>
		/// <param name="p_mstScripType">The script's type.</param>
		/// <param name="p_strCode">The mod script code.</param>
		public ModScript(ModScriptType p_mstScripType, string p_strCode)
		{
			Type = p_mstScripType;
			Code = p_strCode;
		}
Esempio n. 2
0
 /// <summary>
 /// A simple constructor that initializes the object with the given values.
 /// </summary>
 /// <param name="p_mstScripType">The script's type.</param>
 /// <param name="p_strCode">The mod script code.</param>
 public ModScript(ModScriptType p_mstScripType, string p_strCode)
 {
     Type = p_mstScripType;
     Code = p_strCode;
 }