C# Класс MCLawl.Scripting

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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