C# Class AGS.Plugin.Lua.InvokeLua

Datei anzeigen Open project: duncanc/Lua-for-AGS Class Usage Examples

Public Properties

Property Type Description
LUA_SIGNATURE byte[]

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

ExceptionPanicHandler() public static method

public static ExceptionPanicHandler ( IntPtr L ) : int
L System.IntPtr
return int

luaL_typename() public static method

public static luaL_typename ( IntPtr L, int n ) : string
L System.IntPtr
n int
return string

lua_getgccount() public static method

public static lua_getgccount ( IntPtr L ) : int
L System.IntPtr
return int

lua_getglobal() public static method

public static lua_getglobal ( IntPtr L, string s ) : void
L System.IntPtr
s string
return void

lua_getregistry() public static method

public static lua_getregistry ( IntPtr L ) : void
L System.IntPtr
return void

lua_isboolean() public static method

public static lua_isboolean ( IntPtr L, int n ) : bool
L System.IntPtr
n int
return bool

lua_isfunction() public static method

public static lua_isfunction ( IntPtr L, int n ) : bool
L System.IntPtr
n int
return bool

lua_islightuserdata() public static method

public static lua_islightuserdata ( IntPtr L, int n ) : bool
L System.IntPtr
n int
return bool

lua_isnil() public static method

public static lua_isnil ( IntPtr L, int n ) : bool
L System.IntPtr
n int
return bool

lua_isnone() public static method

public static lua_isnone ( IntPtr L, int n ) : bool
L System.IntPtr
n int
return bool

lua_isnoneornil() public static method

public static lua_isnoneornil ( IntPtr L, int n ) : bool
L System.IntPtr
n int
return bool

lua_istable() public static method

public static lua_istable ( IntPtr L, int n ) : bool
L System.IntPtr
n int
return bool

lua_isthread() public static method

public static lua_isthread ( IntPtr L, int n ) : bool
L System.IntPtr
n int
return bool

lua_newtable() public static method

public static lua_newtable ( IntPtr L ) : void
L System.IntPtr
return void

lua_pop() public static method

public static lua_pop ( IntPtr L, int n ) : void
L System.IntPtr
n int
return void

lua_pushcfunction() public static method

public static lua_pushcfunction ( IntPtr L, lua_CFunction fn ) : void
L System.IntPtr
fn lua_CFunction
return void

lua_register() public static method

public static lua_register ( IntPtr L, string n, lua_CFunction f ) : void
L System.IntPtr
n string
f lua_CFunction
return void

lua_setglobal() public static method

public static lua_setglobal ( IntPtr L, string s ) : void
L System.IntPtr
s string
return void

lua_tobytestring() public static method

public static lua_tobytestring ( IntPtr L, int idx ) : byte[]
L System.IntPtr
idx int
return byte[]

lua_tostring() public static method

public static lua_tostring ( IntPtr L, int idx ) : string
L System.IntPtr
idx int
return string

lua_upvalueindex() public static method

public static lua_upvalueindex ( int i ) : int
i int
return int

util_iskeyword() public static method

public static util_iskeyword ( string checkWord ) : bool
checkWord string
return bool

util_quotestring() public static method

public static util_quotestring ( string s ) : string
s string
return string

Property Details

LUA_SIGNATURE public_oe static_oe property

public static byte[] LUA_SIGNATURE
return byte[]