C# Класс CryEngine.Lua.ScriptTable

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

Private Properties

Свойство Тип Описание
Get ScriptTable
ScriptTable System

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

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

Приватные методы

Метод Описание
Get ( IntPtr entityPtr ) : ScriptTable
ScriptTable ( IntPtr scriptPtr ) : System

Описание методов

CallMethod() публичный Метод

Invokes a method on the script table
public CallMethod ( string methodName ) : object
methodName string Name of the method
Результат object

Execute() публичный статический Метод

Global lua script execution
public static Execute ( string buffer ) : bool
buffer string
Результат bool

Get() публичный статический Метод

public static Get ( EntityBase entity ) : ScriptTable
entity EntityBase
Результат ScriptTable

GetTable() публичный Метод

Gets a table within this table.
public GetTable ( string name ) : ScriptTable
name string Name of the table
Результат ScriptTable

GetValue() публичный Метод

Gets a value within the table.
public GetValue ( string name ) : object
name string Name of the value
Результат object