AGS.Editor.DataFileWriter.WriteCompiledScript C# (CSharp) Метод

WriteCompiledScript() статический приватный Метод

static private WriteCompiledScript ( FileStream ostream, Script script, CompileMessages errors ) : bool
ostream System.IO.FileStream
script Script
errors CompileMessages
Результат bool
        static bool WriteCompiledScript(FileStream ostream, Script script, CompileMessages errors)
        {
            if (script.CompiledData == null)
            {
                errors.Add(new CompileError(string.Format("Script has not been compiled: {0}", script.FileName)));
                return false;
            }
            script.CompiledData.Write(ostream, script.FileName);
            return true;
        }