C# Class Pluton.LUAPlugin

Lua plugin.
Inheritance: BasePlugin
Exibir arquivo Open project: Notulp/Pluton

Public Properties

Property Type Description
Tables Table
script Script

Public Methods

Method Description
FormatException ( Exception ex ) : string
Invoke ( string func ) : object

Invoke the specified method and args.

LUAPlugin ( string name, string code, DirectoryInfo rootdir ) : System

Initializes a new instance of the Pluton.LUAPlugin class.

Load ( string code = "" ) : void

Method Details

FormatException() public method

public FormatException ( Exception ex ) : string
ex System.Exception
return string

Invoke() public method

Invoke the specified method and args.
public Invoke ( string func ) : object
func string Func.
return object

LUAPlugin() public method

Initializes a new instance of the Pluton.LUAPlugin class.
public LUAPlugin ( string name, string code, DirectoryInfo rootdir ) : System
name string Name.
code string Code.
rootdir System.IO.DirectoryInfo Rootdir.
return System

Load() public method

public Load ( string code = "" ) : void
code string
return void

Property Details

Tables public_oe property

LUA Tables
public Table Tables
return Table

script public_oe property

public Script script
return Script