//public bool m_Deleteable; //! This is set to TRUE if scripts marked as not being deleteable should be deleted //public ScriptTypes m_ScriptType = ScriptTypes.None;//! This is the type of script #endregion #region Data public void Read(ArchiveReader ar) { string script = ar.ReadStringL(); Visit.Read(ar); ar.ReadList(CommandList); ar.ReadList(CommandList); // deferred items in SAW 6 are in a separate list // then the script is read in order to preserve comments var error = ParseFromScript(script, true); if (error != null) { Globals.NonFatalOperationalError(Strings.Item("Script_Error_LoadSAW6") + error + " (" + script.Replace("\n", "\\n").Replace("\r", "\\r") + ")"); } RunDefault = !CommandList.Any(); }
public virtual void Read(ArchiveReader ar) { m_ParamList = ar.ReadList <Param>(); }