C# 클래스 ALFA.ScriptCompiler

This class encapsulates general system information about the game environment and configuration.
파일 보기 프로젝트 열기: ALandFarAway/ALFA-Base-Resources

공개 메소드들

메소드 설명
CompileScript ( string Filespec, string Options, CompilerParseLineDelegate ParseLine = null ) : CompilerResult

Compile a script (or set of scripts), and return information about the compilation request.

비공개 메소드들

메소드 설명
CreateCompilerCommandLine ( string Filespec, string Options ) : string

Create the command line for the compiler given a filespec to attempt to compile.

GetCompilerExe ( ) : string

Get the path to NWNScriptCompiler.exe.

메소드 상세

CompileScript() 공개 정적인 메소드

Compile a script (or set of scripts), and return information about the compilation request.
public static CompileScript ( string Filespec, string Options, CompilerParseLineDelegate ParseLine = null ) : CompilerResult
Filespec string Supplies a filespec of files to compile, /// such as *.nss.
Options string Optionally supplies additional compiler /// options (e.g. -e -v1.70).
ParseLine CompilerParseLineDelegate Optionally supplies a function to parse /// each line printed by the compiler.
리턴 CompilerResult