C# Класс AGS.Plugin.Lua.InvokeLua

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

Открытые свойства

Свойство Тип Описание
LUA_SIGNATURE byte[]

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

Метод Описание
ExceptionPanicHandler ( IntPtr L ) : int
luaL_typename ( IntPtr L, int n ) : string
lua_getgccount ( IntPtr L ) : int
lua_getglobal ( IntPtr L, string s ) : void
lua_getregistry ( IntPtr L ) : void
lua_isboolean ( IntPtr L, int n ) : bool
lua_isfunction ( IntPtr L, int n ) : bool
lua_islightuserdata ( IntPtr L, int n ) : bool
lua_isnil ( IntPtr L, int n ) : bool
lua_isnone ( IntPtr L, int n ) : bool
lua_isnoneornil ( IntPtr L, int n ) : bool
lua_istable ( IntPtr L, int n ) : bool
lua_isthread ( IntPtr L, int n ) : bool
lua_newtable ( IntPtr L ) : void
lua_pop ( IntPtr L, int n ) : void
lua_pushcfunction ( IntPtr L, lua_CFunction fn ) : void
lua_register ( IntPtr L, string n, lua_CFunction f ) : void
lua_setglobal ( IntPtr L, string s ) : void
lua_tobytestring ( IntPtr L, int idx ) : byte[]
lua_tostring ( IntPtr L, int idx ) : string
lua_upvalueindex ( int i ) : int
util_iskeyword ( string checkWord ) : bool
util_quotestring ( string s ) : string

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

Метод Описание
luaL_argerror ( IntPtr L, [ numarg, [ extramsg ) : int
luaL_callmeta ( IntPtr L, [ obj, [ e ) : int
luaL_checklstring ( IntPtr L, [ numArg, [ l ) : string
luaL_getmetafield ( IntPtr L, [ obj, [ e ) : int
luaL_loadbuffer ( IntPtr L, [ ArraySubType = UnmanagedType.U1)]byte[]buff, [ sz, [ name ) : int
luaL_loadfile ( IntPtr L, [ filename ) : int
luaL_loadstring ( IntPtr L, [ str ) : int
luaL_newstate ( ) : IntPtr
luaL_optlstring ( IntPtr L, [ numArg, [ l ) : string
luaL_typerror ( IntPtr L, [ narg, [ tname ) : int
lua_atpanic ( IntPtr L, [ panicf ) : lua_CFunction
lua_call ( IntPtr L, int nargs, int nresults ) : void
lua_checkstack ( IntPtr L, int sz ) : int
lua_close ( IntPtr L ) : void
lua_concat ( IntPtr L, int n ) : void
lua_cpcall ( IntPtr L, lua_CFunction func, IntPtr ud ) : int
lua_createtable ( IntPtr L, [ narr, [ nrec ) : void
lua_dump ( IntPtr L, [ writer, IntPtr data ) : void
lua_equal ( IntPtr L, int idx1, int idx2 ) : bool
lua_error ( IntPtr L ) : int
lua_gc ( IntPtr L, int what, int data ) : int
lua_getallocf ( IntPtr L, IntPtr &ud ) : lua_Alloc
lua_getfenv ( IntPtr L, int idx ) : bool
lua_getfield ( IntPtr L, int idx, string k ) : void
lua_gethook ( IntPtr L ) : lua_Hook
lua_gethookcount ( IntPtr L ) : int
lua_gethookmask ( IntPtr L ) : int
lua_getinfo ( IntPtr L, string what, lua_Debug ar ) : int
lua_getlocal ( IntPtr L, lua_Debug ar, int n ) : string
lua_getmetatable ( IntPtr L, int objindex ) : bool
lua_getstack ( IntPtr L, int level, lua_Debug ar ) : int
lua_gettable ( IntPtr L, int idx ) : void
lua_gettop ( IntPtr L ) : int
lua_getupvalue ( IntPtr L, int funcindex, int n ) : string
lua_insert ( IntPtr L, int idx ) : void
lua_iscfunction ( IntPtr L, int idx ) : bool
lua_isnumber ( IntPtr L, int idx ) : bool
lua_isstring ( IntPtr L, int idx ) : bool
lua_isuserdata ( IntPtr L, int idx ) : bool
lua_lessthan ( IntPtr L, int idx1, int idx2 ) : bool
lua_load ( IntPtr L, [ reader, IntPtr data, [ chunkname ) : int
lua_newstate ( [ L, IntPtr ud ) : IntPtr
lua_newthread ( IntPtr L ) : IntPtr
lua_newuserdata ( IntPtr L, UIntPtr sz ) : IntPtr
lua_next ( IntPtr L, int idx ) : bool
lua_objlen ( IntPtr L, int idx ) : UIntPtr
lua_open ( ) : IntPtr
lua_pcall ( IntPtr L, int nargs, int nresults, int errfunc ) : int
lua_pushboolean ( IntPtr L, [ b ) : void
lua_pushcclosure ( IntPtr L, [ fn, [ n ) : void
lua_pushfstring ( IntPtr L, [ format, __arglist __arglist ) : void
lua_pushinteger ( IntPtr L, [ n ) : void
lua_pushlightuserdata ( IntPtr L, IntPtr p ) : void
lua_pushnil ( IntPtr L ) : void
lua_pushnumber ( IntPtr L, [ n ) : void
lua_pushstring ( IntPtr L, [ ArraySubType = UnmanagedType.U1)]byte[]bytestring ) : void
lua_pushthread ( IntPtr L ) : bool
lua_pushvalue ( IntPtr L, int idx ) : void
lua_rawequal ( IntPtr L, int idx1, int idx2 ) : bool
lua_rawget ( IntPtr L, int idx ) : void
lua_rawgeti ( IntPtr L, int idx, int n ) : void
lua_rawset ( IntPtr L, int idx ) : void
lua_rawseti ( IntPtr L, int idx, int n ) : void
lua_remove ( IntPtr L, int idx ) : void
lua_replace ( IntPtr L, int idx ) : void
lua_resume ( IntPtr L, int narg ) : int
lua_setallocf ( IntPtr L, lua_Alloc f, IntPtr ud ) : void
lua_setfenv ( IntPtr L, int idx ) : bool
lua_setfield ( IntPtr L, int idx, string k ) : void
lua_sethook ( IntPtr L, lua_Hook func, int mask, int count ) : int
lua_setlevel ( IntPtr from, IntPtr to ) : void
lua_setlocal ( IntPtr L, lua_Debug ar, int n ) : string
lua_setmetatable ( IntPtr L, int objindex ) : bool
lua_settable ( IntPtr L, int idx ) : void
lua_settop ( IntPtr L, int idx ) : void
lua_setupvalue ( IntPtr L, int funcindex, int n ) : string
lua_status ( IntPtr L ) : int
lua_strlen ( IntPtr L, int idx ) : UIntPtr
lua_toboolean ( IntPtr L, int idx ) : bool
lua_tocfunction ( IntPtr L, int idx ) : lua_CFunction
lua_tointeger ( IntPtr L, int idx ) : int
lua_tolstring_bytes ( IntPtr L, [ idx, [ len ) : byte[]
lua_tonumber ( IntPtr L, int idx ) : double
lua_topointer ( IntPtr L, int idx ) : IntPtr
lua_tostring_aux ( IntPtr L, [ idx, [ ptr ) : string
lua_tothread ( IntPtr L, int idx ) : IntPtr
lua_touserdata ( IntPtr L, int idx ) : IntPtr
lua_type ( IntPtr L, [ n ) : int
lua_typename ( IntPtr L, [ n ) : string
lua_xmove ( IntPtr from, IntPtr to, int n ) : void
lua_yield ( IntPtr L, int nresults ) : int

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

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

public static ExceptionPanicHandler ( IntPtr L ) : int
L System.IntPtr
Результат int

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

public static luaL_typename ( IntPtr L, int n ) : string
L System.IntPtr
n int
Результат string

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

public static lua_getgccount ( IntPtr L ) : int
L System.IntPtr
Результат int

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

public static lua_getglobal ( IntPtr L, string s ) : void
L System.IntPtr
s string
Результат void

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

public static lua_getregistry ( IntPtr L ) : void
L System.IntPtr
Результат void

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

public static lua_isboolean ( IntPtr L, int n ) : bool
L System.IntPtr
n int
Результат bool

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

public static lua_isfunction ( IntPtr L, int n ) : bool
L System.IntPtr
n int
Результат bool

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

public static lua_islightuserdata ( IntPtr L, int n ) : bool
L System.IntPtr
n int
Результат bool

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

public static lua_isnil ( IntPtr L, int n ) : bool
L System.IntPtr
n int
Результат bool

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

public static lua_isnone ( IntPtr L, int n ) : bool
L System.IntPtr
n int
Результат bool

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

public static lua_isnoneornil ( IntPtr L, int n ) : bool
L System.IntPtr
n int
Результат bool

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

public static lua_istable ( IntPtr L, int n ) : bool
L System.IntPtr
n int
Результат bool

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

public static lua_isthread ( IntPtr L, int n ) : bool
L System.IntPtr
n int
Результат bool

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

public static lua_newtable ( IntPtr L ) : void
L System.IntPtr
Результат void

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

public static lua_pop ( IntPtr L, int n ) : void
L System.IntPtr
n int
Результат void

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

public static lua_pushcfunction ( IntPtr L, lua_CFunction fn ) : void
L System.IntPtr
fn lua_CFunction
Результат void

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

public static lua_register ( IntPtr L, string n, lua_CFunction f ) : void
L System.IntPtr
n string
f lua_CFunction
Результат void

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

public static lua_setglobal ( IntPtr L, string s ) : void
L System.IntPtr
s string
Результат void

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

public static lua_tobytestring ( IntPtr L, int idx ) : byte[]
L System.IntPtr
idx int
Результат byte[]

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

public static lua_tostring ( IntPtr L, int idx ) : string
L System.IntPtr
idx int
Результат string

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

public static lua_upvalueindex ( int i ) : int
i int
Результат int

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

public static util_iskeyword ( string checkWord ) : bool
checkWord string
Результат bool

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

public static util_quotestring ( string s ) : string
s string
Результат string

Описание свойств

LUA_SIGNATURE публичное статическое свойство

public static byte[] LUA_SIGNATURE
Результат byte[]