C# Class LuaInterface.LuaDLL

ファイルを表示 Open project: tenvick/hugula Class Usage Examples

Public Properties

Property Type Description
LUA_MULTRET int

Public Methods

Method Description
luaL_checkinteger ( IntPtr luaState, int stackPos ) : System.Int64
luaL_checkinteger ( IntPtr luaState, int stackPos ) : int
luaL_checknumber ( IntPtr luaState, int stackPos ) : double
luaL_checktype ( IntPtr luaState, int p, LuaTypes t ) : void
luaL_dostring ( IntPtr luaState, string chunk ) : int
luaL_getmetafield ( IntPtr luaState, int stackPos, string field ) : bool
luaL_getmetatable ( IntPtr luaState, string meta ) : void
luaL_loadbuffer ( IntPtr luaState, byte buff, int size, string name ) : int
luaL_typename ( IntPtr luaState, int stackPos ) : string
lua_absindex ( IntPtr luaState, int index ) : int
lua_call ( IntPtr luaState, int nArgs, int nResults ) : int
lua_checkstack ( IntPtr luaState, int extra ) : bool
lua_dostring ( IntPtr luaState, string chunk ) : int
lua_equal ( IntPtr luaState, int index1, int index2 ) : int
lua_getref ( IntPtr luaState, int reference ) : void
lua_insert ( IntPtr luaState, int newTop ) : void
lua_isboolean ( IntPtr luaState, int index ) : bool
lua_iscfunction ( IntPtr luaState, int index ) : bool
lua_isfunction ( IntPtr luaState, int stackPos ) : bool
lua_islightuserdata ( IntPtr luaState, int stackPos ) : bool
lua_isnil ( IntPtr luaState, int index ) : bool
lua_isnumber ( IntPtr luaState, int index ) : bool
lua_isstring ( IntPtr luaState, int index ) : bool
lua_istable ( IntPtr luaState, int stackPos ) : bool
lua_isthread ( IntPtr luaState, int stackPos ) : bool
lua_newtable ( IntPtr luaState ) : void
lua_pcall ( IntPtr luaState, int nArgs, int nResults, int errfunc ) : int
lua_pop ( IntPtr luaState, int amount ) : void
lua_pushboolean ( IntPtr luaState, bool value ) : void
lua_pushcclosure ( IntPtr l, LuaCSFunction f, int nup ) : void
lua_pushcfunction ( IntPtr luaState, LuaCSFunction function ) : void
lua_pushglobaltable ( IntPtr l ) : void
lua_pushinteger ( IntPtr luaState, int i ) : void
lua_pushlstring ( IntPtr luaState, byte str, int size ) : void
lua_rawlen ( IntPtr luaState, int stackPos ) : int
lua_remove ( IntPtr l, int idx ) : void
lua_replace ( IntPtr luaState, int index ) : void
lua_strlen ( IntPtr luaState, int stackPos ) : int
lua_toboolean ( IntPtr luaState, int index ) : bool
lua_tobytes ( IntPtr luaState, int index ) : byte[]
lua_tointeger ( IntPtr luaState, int index ) : int
lua_tonumber ( IntPtr luaState, int index ) : double
lua_tostring ( IntPtr luaState, int index ) : string
lua_typenamestr ( IntPtr luaState, LuaTypes type ) : string
lua_unref ( IntPtr luaState, int reference ) : void
lua_upvalueindex ( int i ) : int
lua_yield ( IntPtr luaState, int nrets ) : int

Private Methods

Method Description
luaL_callmeta ( IntPtr luaState, int stackPos, string name ) : int
luaL_checkudata ( IntPtr luaState, int stackPos, string meta ) : IntPtr
luaL_error ( IntPtr luaState, string message ) : void
luaL_gsub ( IntPtr luaState, string str, string pattern, string replacement ) : string
luaL_loadbufferx ( IntPtr luaState, byte buff, int size, string name, IntPtr x ) : int
luaL_loadfile ( IntPtr luaState, string filename ) : int
luaL_loadstring ( IntPtr luaState, string chunk ) : int
luaL_newmetatable ( IntPtr luaState, string meta ) : int
luaL_newstate ( ) : IntPtr
luaL_openlibs ( IntPtr luaState ) : void
luaL_ref ( IntPtr luaState, int registryIndex ) : int
luaL_unref ( IntPtr luaState, int registryIndex, int reference ) : void
luaL_where ( IntPtr luaState, int level ) : void
luaS_checkColor ( IntPtr l, int p, float &x, float &y, float &z, float &w ) : int
luaS_checkQuaternion ( IntPtr l, int p, float &x, float &y, float &z, float &w ) : int
luaS_checkVector2 ( IntPtr l, int p, float &x, float &y ) : int
luaS_checkVector3 ( IntPtr l, int p, float &x, float &y, float &z ) : int
luaS_checkVector4 ( IntPtr l, int p, float &x, float &y, float &z, float &w ) : int
luaS_checkluatype ( IntPtr l, int p, string t ) : int
luaS_getcacheud ( IntPtr l, int index, int cref ) : int
luaS_newuserdata ( IntPtr luaState, int val ) : void
luaS_openextlibs ( IntPtr L ) : void
luaS_pcall ( IntPtr luaState, int nArgs, int nResults, int errfunc ) : int
luaS_pushColor ( IntPtr l, float x, float y, float z, float w ) : void
luaS_pushQuaternion ( IntPtr l, float x, float y, float z, float w ) : void
luaS_pushVector2 ( IntPtr l, float x, float y ) : void
luaS_pushVector3 ( IntPtr l, float x, float y, float z ) : void
luaS_pushVector4 ( IntPtr l, float x, float y, float z, float w ) : void
luaS_pushobject ( IntPtr l, int index, string t, bool gco, int cref ) : int
luaS_rawnetobj ( IntPtr luaState, int obj ) : int
luaS_setDataVec ( IntPtr l, int p, float x, float y, float z, float w ) : void
luaS_subclassof ( IntPtr l, int index, string t ) : int
luaS_tolstring32 ( IntPtr luaState, int index, int &strLen ) : IntPtr
luaS_yield ( IntPtr luaState, int nrets ) : int
lua_atpanic ( IntPtr luaState, LuaCSFunction panicf ) : IntPtr
lua_call ( IntPtr luaState, int nArgs, int nResults ) : void
lua_callk ( IntPtr luaState, int nArgs, int nResults, int ctx, IntPtr k ) : int
lua_close ( IntPtr luaState ) : void
lua_compare ( IntPtr luaState, int index1, int index2, int op ) : int
lua_concat ( IntPtr luaState, int n ) : void
lua_copy ( IntPtr luaState, int from, int toidx ) : void
lua_createtable ( IntPtr luaState, int narr, int nrec ) : void
lua_error ( IntPtr luaState ) : int
lua_gc ( IntPtr luaState, LuaGCOptions what, int data ) : int
lua_getfenv ( IntPtr luaState, int stackPos ) : void
lua_getfield ( IntPtr luaState, int stackPos, string meta ) : void
lua_getglobal ( IntPtr luaState, string name ) : void
lua_getmetatable ( IntPtr luaState, int objIndex ) : int
lua_gettable ( IntPtr luaState, int index ) : void
lua_gettop ( IntPtr luaState ) : int
lua_isinteger ( IntPtr luaState, int p ) : int
lua_isuserdata ( IntPtr luaState, int stackPos ) : int
lua_lessthan ( IntPtr luaState, int stackPos1, int stackPos2 ) : int
lua_load ( IntPtr luaState, LuaChunkReader chunkReader, ReaderInfo &data, string chunkName ) : int
lua_newthread ( IntPtr L ) : IntPtr
lua_next ( IntPtr luaState, int index ) : int
lua_pcallk ( IntPtr luaState, int nArgs, int nResults, int errfunc, int ctx, IntPtr k ) : int
lua_pushcclosure ( IntPtr l, IntPtr f, int nup ) : void
lua_pushinteger ( IntPtr luaState, System.Int64 i ) : void
lua_pushinteger ( IntPtr luaState, IntPtr i ) : void
lua_pushlightuserdata ( IntPtr luaState, IntPtr udata ) : void
lua_pushnil ( IntPtr luaState ) : void
lua_pushnumber ( IntPtr luaState, double number ) : void
lua_pushstring ( IntPtr luaState, string str ) : void
lua_pushthread ( IntPtr L ) : int
lua_pushvalue ( IntPtr luaState, int index ) : void
lua_rawequal ( IntPtr luaState, int stackPos1, int stackPos2 ) : int
lua_rawget ( IntPtr luaState, int index ) : void
lua_rawgeti ( IntPtr luaState, int tableIndex, System.Int64 index ) : void
lua_rawgeti ( IntPtr luaState, int tableIndex, int index ) : void
lua_rawset ( IntPtr luaState, int index ) : void
lua_rawseti ( IntPtr luaState, int tableIndex, System.Int64 index ) : void
lua_rawseti ( IntPtr luaState, int tableIndex, int index ) : void
lua_resume ( IntPtr L, IntPtr from, int narg ) : int
lua_resume ( IntPtr L, int narg ) : int
lua_rotate ( IntPtr luaState, int index, int n ) : int
lua_setfenv ( IntPtr luaState, int stackPos ) : int
lua_setfield ( IntPtr luaState, int stackPos, string name ) : void
lua_setglobal ( IntPtr luaState, string name ) : void
lua_setmetatable ( IntPtr luaState, int objIndex ) : int
lua_setmetatable ( IntPtr luaState, int objIndex ) : void
lua_settable ( IntPtr luaState, int index ) : void
lua_settop ( IntPtr luaState, int newTop ) : void
lua_status ( IntPtr L ) : int
lua_tocfunction ( IntPtr luaState, int index ) : IntPtr
lua_tointegerx ( IntPtr luaState, int index, IntPtr x ) : Int64
lua_tonumberx ( IntPtr luaState, int index, IntPtr x ) : double
lua_tothread ( IntPtr L, int index ) : int
lua_touserdata ( IntPtr luaState, int index ) : IntPtr
lua_type ( IntPtr luaState, int index ) : LuaTypes
lua_typename ( IntPtr luaState, int type ) : IntPtr
lua_xmove ( IntPtr from, IntPtr to, int n ) : void

Method Details

luaL_checkinteger() public static method

public static luaL_checkinteger ( IntPtr luaState, int stackPos ) : System.Int64
luaState System.IntPtr
stackPos int
return System.Int64

luaL_checkinteger() public static method

public static luaL_checkinteger ( IntPtr luaState, int stackPos ) : int
luaState System.IntPtr
stackPos int
return int

luaL_checknumber() public static method

public static luaL_checknumber ( IntPtr luaState, int stackPos ) : double
luaState System.IntPtr
stackPos int
return double

luaL_checktype() public static method

public static luaL_checktype ( IntPtr luaState, int p, LuaTypes t ) : void
luaState System.IntPtr
p int
t LuaTypes
return void

luaL_dostring() public static method

public static luaL_dostring ( IntPtr luaState, string chunk ) : int
luaState System.IntPtr
chunk string
return int

luaL_getmetafield() public static method

public static luaL_getmetafield ( IntPtr luaState, int stackPos, string field ) : bool
luaState System.IntPtr
stackPos int
field string
return bool

luaL_getmetatable() public static method

public static luaL_getmetatable ( IntPtr luaState, string meta ) : void
luaState System.IntPtr
meta string
return void

luaL_loadbuffer() public static method

public static luaL_loadbuffer ( IntPtr luaState, byte buff, int size, string name ) : int
luaState System.IntPtr
buff byte
size int
name string
return int

luaL_typename() public static method

public static luaL_typename ( IntPtr luaState, int stackPos ) : string
luaState System.IntPtr
stackPos int
return string

lua_absindex() public static method

public static lua_absindex ( IntPtr luaState, int index ) : int
luaState System.IntPtr
index int
return int

lua_call() public static method

public static lua_call ( IntPtr luaState, int nArgs, int nResults ) : int
luaState System.IntPtr
nArgs int
nResults int
return int

lua_checkstack() public static method

public static lua_checkstack ( IntPtr luaState, int extra ) : bool
luaState System.IntPtr
extra int
return bool

lua_dostring() public static method

public static lua_dostring ( IntPtr luaState, string chunk ) : int
luaState System.IntPtr
chunk string
return int

lua_equal() public static method

public static lua_equal ( IntPtr luaState, int index1, int index2 ) : int
luaState System.IntPtr
index1 int
index2 int
return int

lua_getref() public static method

public static lua_getref ( IntPtr luaState, int reference ) : void
luaState System.IntPtr
reference int
return void

lua_insert() public static method

public static lua_insert ( IntPtr luaState, int newTop ) : void
luaState System.IntPtr
newTop int
return void

lua_isboolean() public static method

public static lua_isboolean ( IntPtr luaState, int index ) : bool
luaState System.IntPtr
index int
return bool

lua_iscfunction() public static method

public static lua_iscfunction ( IntPtr luaState, int index ) : bool
luaState System.IntPtr
index int
return bool

lua_isfunction() public static method

public static lua_isfunction ( IntPtr luaState, int stackPos ) : bool
luaState System.IntPtr
stackPos int
return bool

lua_islightuserdata() public static method

public static lua_islightuserdata ( IntPtr luaState, int stackPos ) : bool
luaState System.IntPtr
stackPos int
return bool

lua_isnil() public static method

public static lua_isnil ( IntPtr luaState, int index ) : bool
luaState System.IntPtr
index int
return bool

lua_isnumber() public static method

public static lua_isnumber ( IntPtr luaState, int index ) : bool
luaState System.IntPtr
index int
return bool

lua_isstring() public static method

public static lua_isstring ( IntPtr luaState, int index ) : bool
luaState System.IntPtr
index int
return bool

lua_istable() public static method

public static lua_istable ( IntPtr luaState, int stackPos ) : bool
luaState System.IntPtr
stackPos int
return bool

lua_isthread() public static method

public static lua_isthread ( IntPtr luaState, int stackPos ) : bool
luaState System.IntPtr
stackPos int
return bool

lua_newtable() public static method

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

lua_pcall() public static method

public static lua_pcall ( IntPtr luaState, int nArgs, int nResults, int errfunc ) : int
luaState System.IntPtr
nArgs int
nResults int
errfunc int
return int

lua_pop() public static method

public static lua_pop ( IntPtr luaState, int amount ) : void
luaState System.IntPtr
amount int
return void

lua_pushboolean() public static method

public static lua_pushboolean ( IntPtr luaState, bool value ) : void
luaState System.IntPtr
value bool
return void

lua_pushcclosure() public static method

public static lua_pushcclosure ( IntPtr l, LuaCSFunction f, int nup ) : void
l System.IntPtr
f LuaCSFunction
nup int
return void

lua_pushcfunction() public static method

public static lua_pushcfunction ( IntPtr luaState, LuaCSFunction function ) : void
luaState System.IntPtr
function LuaCSFunction
return void

lua_pushglobaltable() public static method

public static lua_pushglobaltable ( IntPtr l ) : void
l System.IntPtr
return void

lua_pushinteger() public static method

public static lua_pushinteger ( IntPtr luaState, int i ) : void
luaState System.IntPtr
i int
return void

lua_pushlstring() public static method

public static lua_pushlstring ( IntPtr luaState, byte str, int size ) : void
luaState System.IntPtr
str byte
size int
return void

lua_rawlen() public static method

public static lua_rawlen ( IntPtr luaState, int stackPos ) : int
luaState System.IntPtr
stackPos int
return int

lua_remove() public static method

public static lua_remove ( IntPtr l, int idx ) : void
l System.IntPtr
idx int
return void

lua_replace() public static method

public static lua_replace ( IntPtr luaState, int index ) : void
luaState System.IntPtr
index int
return void

lua_strlen() public static method

public static lua_strlen ( IntPtr luaState, int stackPos ) : int
luaState System.IntPtr
stackPos int
return int

lua_toboolean() public static method

public static lua_toboolean ( IntPtr luaState, int index ) : bool
luaState IntPtr
index int
return bool

lua_tobytes() public static method

public static lua_tobytes ( IntPtr luaState, int index ) : byte[]
luaState IntPtr
index int
return byte[]

lua_tointeger() public static method

public static lua_tointeger ( IntPtr luaState, int index ) : int
luaState IntPtr
index int
return int

lua_tonumber() public static method

public static lua_tonumber ( IntPtr luaState, int index ) : double
luaState IntPtr
index int
return double

lua_tostring() public static method

public static lua_tostring ( IntPtr luaState, int index ) : string
luaState IntPtr
index int
return string

lua_typenamestr() public static method

public static lua_typenamestr ( IntPtr luaState, LuaTypes type ) : string
luaState IntPtr
type LuaTypes
return string

lua_unref() public static method

public static lua_unref ( IntPtr luaState, int reference ) : void
luaState IntPtr
reference int
return void

lua_upvalueindex() public static method

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

lua_yield() public static method

public static lua_yield ( IntPtr luaState, int nrets ) : int
luaState IntPtr
nrets int
return int

Property Details

LUA_MULTRET public_oe static_oe property

public static int LUA_MULTRET
return int