C# 클래스 MCLawl.Scripting

파일 보기 프로젝트 열기: dekema2/MCDek 1 사용 예제들

공개 메소드들

메소드 설명
Autoload ( ) : void
Compile ( string commandName ) : bool

Compiles a written function from source into a DLL.

CreateNew ( string CmdName ) : void

Creates a new, empty command class.

Load ( string command ) : string

Loads a command for use on the server.

비공개 메소드들

메소드 설명
ClassName ( string name ) : string

Creates a class name from the given string.

메소드 상세

Autoload() 공개 정적인 메소드

public static Autoload ( ) : void
리턴 void

Compile() 공개 정적인 메소드

Compiles a written function from source into a DLL.
public static Compile ( string commandName ) : bool
commandName string Name of the command file to be compiled (without the extension)
리턴 bool

CreateNew() 공개 정적인 메소드

Creates a new, empty command class.
public static CreateNew ( string CmdName ) : void
CmdName string
리턴 void

Load() 공개 정적인 메소드

Loads a command for use on the server.
public static Load ( string command ) : string
command string Name of the command to be loaded (make sure it's prefixed by Cmd before bringing it in here or you'll have problems).
리턴 string