C# Class CryEngine.Lua.ScriptTable

Represents a Lua ScriptTable.
Mostrar archivo Open project: PoppermostProductions/CryMono Class Usage Examples

Private Properties

Property Type Description
Get ScriptTable
ScriptTable System

Public Methods

Method Description
CallMethod ( string methodName ) : object

Invokes a method on the script table

Execute ( string buffer ) : bool

Global lua script execution

Get ( EntityBase entity ) : ScriptTable
GetTable ( string name ) : ScriptTable

Gets a table within this table.

GetValue ( string name ) : object

Gets a value within the table.

Private Methods

Method Description
Get ( IntPtr entityPtr ) : ScriptTable
ScriptTable ( IntPtr scriptPtr ) : System

Method Details

CallMethod() public method

Invokes a method on the script table
public CallMethod ( string methodName ) : object
methodName string Name of the method
return object

Execute() public static method

Global lua script execution
public static Execute ( string buffer ) : bool
buffer string
return bool

Get() public static method

public static Get ( EntityBase entity ) : ScriptTable
entity EntityBase
return ScriptTable

GetTable() public method

Gets a table within this table.
public GetTable ( string name ) : ScriptTable
name string Name of the table
return ScriptTable

GetValue() public method

Gets a value within the table.
public GetValue ( string name ) : object
name string Name of the value
return object