C# Class CryEngine.Lua.ScriptTable

Represents a Lua ScriptTable.
Afficher le fichier Open project: PoppermostProductions/CryMono Class Usage Examples

Private Properties

Свойство Type Description
Get ScriptTable
ScriptTable System

Méthodes publiques

Méthode 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

Méthode Description
Get ( IntPtr entityPtr ) : ScriptTable
ScriptTable ( IntPtr scriptPtr ) : System

Method Details

CallMethod() public méthode

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

Execute() public static méthode

Global lua script execution
public static Execute ( string buffer ) : bool
buffer string
Résultat bool

Get() public static méthode

public static Get ( EntityBase entity ) : ScriptTable
entity EntityBase
Résultat ScriptTable

GetTable() public méthode

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

GetValue() public méthode

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