KeraLua.Lua Class Reference

Static Public Member Functions

static int LuaGC (IntPtr luaState, int what, int data)
 
static CharPtr LuaTypeName (IntPtr luaState, int type)
 
static void LuaLError (IntPtr luaState, string message)
 
static void LuaLWhere (IntPtr luaState, int level)
 
static IntPtr LuaLNewState ()
 
static void LuaClose (IntPtr luaState)
 
static void LuaLOpenLibs (IntPtr luaState)
 
static int LuaLLoadString (IntPtr luaState, string chunk)
 
static int LuaLLoadString (IntPtr luaState, byte[] chunk)
 
static void LuaCreateTable (IntPtr luaState, int narr, int nrec)
 
static void LuaGetTable (IntPtr luaState, int index)
 
static void LuaSetTop (IntPtr luaState, int newTop)
 
static void LuaInsert (IntPtr luaState, int newTop)
 
static void LuaRemove (IntPtr luaState, int index)
 
static void LuaRawGet (IntPtr luaState, int index)
 
static void LuaSetTable (IntPtr luaState, int index)
 
static void LuaRawSet (IntPtr luaState, int index)
 
static void LuaSetMetatable (IntPtr luaState, int objIndex)
 
static int LuaGetMetatable (IntPtr luaState, int objIndex)
 
static int LuaNetEqual (IntPtr luaState, int index1, int index2)
 
static void LuaPushValue (IntPtr luaState, int index)
 
static void LuaReplace (IntPtr luaState, int index)
 
static int LuaGetTop (IntPtr luaState)
 
static int LuaType (IntPtr luaState, int index)
 
static int LuaLRef (IntPtr luaState, int registryIndex)
 
static void LuaRawGetI (IntPtr luaState, int tableIndex, int index)
 
static void LuaRawSetI (IntPtr luaState, int tableIndex, int index)
 
static IntPtr LuaNewUserData (IntPtr luaState, uint size)
 
static IntPtr LuaToUserData (IntPtr luaState, int index)
 
static void LuaLUnref (IntPtr luaState, int registryIndex, int reference)
 
static int LuaIsString (IntPtr luaState, int index)
 
static bool LuaIsCFunction (IntPtr luaState, int index)
 
static void LuaPushNil (IntPtr luaState)
 
static int LuaNetPCall (IntPtr luaState, int nArgs, int nResults, int errfunc)
 
static LuaNativeFunction LuaToCFunction (IntPtr luaState, int index)
 
static double LuaNetToNumber (IntPtr luaState, int index)
 
static int LuaToBoolean (IntPtr luaState, int index)
 
static CharPtr LuaToLString (IntPtr luaState, int index, out uint strLen)
 
static void LuaAtPanic (IntPtr luaState, LuaNativeFunction panicf)
 
static void LuaPushStdCallCFunction (IntPtr luaState, LuaNativeFunction fn)
 
static void LuaPushNumber (IntPtr luaState, double number)
 
static void LuaPushBoolean (IntPtr luaState, int value)
 
static void LuaNetPushLString (IntPtr luaState, string str, uint size)
 
static void LuaPushString (IntPtr luaState, string str)
 
static int LuaLNewMetatable (IntPtr luaState, string meta)
 
static void LuaGetField (IntPtr luaState, int stackPos, string meta)
 
static IntPtr LuaLCheckUData (IntPtr luaState, int stackPos, string meta)
 
static int LuaLGetMetafield (IntPtr luaState, int stackPos, string field)
 
static int LuaNetLoadBuffer (IntPtr luaState, string buff, uint size, string name)
 
static int LuaNetLoadBuffer (IntPtr luaState, byte[] buff, uint size, string name)
 
static int LuaNetLoadFile (IntPtr luaState, string filename)
 
static void LuaError (IntPtr luaState)
 
static int LuaCheckStack (IntPtr luaState, int extra)
 
static int LuaNext (IntPtr luaState, int index)
 
static void LuaPushLightUserData (IntPtr luaState, IntPtr udata)
 
static bool LuaLCheckMetatable (IntPtr luaState, int obj)
 
static int LuaGetHookMask (IntPtr luaState)
 
static int LuaSetHook (IntPtr luaState, LuaHook func, int mask, int count)
 
static int LuaGetHookCount (IntPtr luaState)
 
static CharPtr LuaGetLocal (IntPtr luaState, LuaDebug ar, int n)
 
static CharPtr LuaSetLocal (IntPtr luaState, LuaDebug ar, int n)
 
static CharPtr LuaGetUpValue (IntPtr luaState, int funcindex, int n)
 
static CharPtr LuaSetUpValue (IntPtr luaState, int funcindex, int n)
 
static int LuaNetToNetObject (IntPtr luaState, int index)
 
static int LuaNetRegistryIndex ()
 
static void LuaNetNewUData (IntPtr luaState, int val)
 
static int LuaNetRawNetObj (IntPtr luaState, int obj)
 
static int LuaNetCheckUData (IntPtr luaState, int ud, string tname)
 
static IntPtr LuaNetGetTag ()
 
static void LuaNetPushGlobalTable (IntPtr luaState)
 
static void LuaNetPopGlobalTable (IntPtr luaState)
 
static void LuaNetSetGlobal (IntPtr luaState, string name)
 
static void LuaNetGetGlobal (IntPtr luaState, string name)
 
static IntPtr LuaNetGetMainState (IntPtr luaState)
 

Member Function Documentation

◆ LuaAtPanic()

static void KeraLua.Lua.LuaAtPanic ( IntPtr  luaState,
LuaNativeFunction  panicf 
)
static

◆ LuaCheckStack()

static int KeraLua.Lua.LuaCheckStack ( IntPtr  luaState,
int  extra 
)
static

◆ LuaClose()

static void KeraLua.Lua.LuaClose ( IntPtr  luaState)
static

◆ LuaCreateTable()

static void KeraLua.Lua.LuaCreateTable ( IntPtr  luaState,
int  narr,
int  nrec 
)
static

◆ LuaError()

static void KeraLua.Lua.LuaError ( IntPtr  luaState)
static

◆ LuaGC()

static int KeraLua.Lua.LuaGC ( IntPtr  luaState,
int  what,
int  data 
)
static

◆ LuaGetField()

static void KeraLua.Lua.LuaGetField ( IntPtr  luaState,
int  stackPos,
string  meta 
)
static

◆ LuaGetHookCount()

static int KeraLua.Lua.LuaGetHookCount ( IntPtr  luaState)
static

◆ LuaGetHookMask()

static int KeraLua.Lua.LuaGetHookMask ( IntPtr  luaState)
static

◆ LuaGetLocal()

static CharPtr KeraLua.Lua.LuaGetLocal ( IntPtr  luaState,
LuaDebug  ar,
int  n 
)
static

◆ LuaGetMetatable()

static int KeraLua.Lua.LuaGetMetatable ( IntPtr  luaState,
int  objIndex 
)
static

◆ LuaGetTable()

static void KeraLua.Lua.LuaGetTable ( IntPtr  luaState,
int  index 
)
static

◆ LuaGetTop()

static int KeraLua.Lua.LuaGetTop ( IntPtr  luaState)
static

◆ LuaGetUpValue()

static CharPtr KeraLua.Lua.LuaGetUpValue ( IntPtr  luaState,
int  funcindex,
int  n 
)
static

◆ LuaInsert()

static void KeraLua.Lua.LuaInsert ( IntPtr  luaState,
int  newTop 
)
static

◆ LuaIsCFunction()

static bool KeraLua.Lua.LuaIsCFunction ( IntPtr  luaState,
int  index 
)
static

◆ LuaIsString()

static int KeraLua.Lua.LuaIsString ( IntPtr  luaState,
int  index 
)
static

◆ LuaLCheckMetatable()

static bool KeraLua.Lua.LuaLCheckMetatable ( IntPtr  luaState,
int  obj 
)
static

◆ LuaLCheckUData()

static IntPtr KeraLua.Lua.LuaLCheckUData ( IntPtr  luaState,
int  stackPos,
string  meta 
)
static

◆ LuaLError()

static void KeraLua.Lua.LuaLError ( IntPtr  luaState,
string  message 
)
static

◆ LuaLGetMetafield()

static int KeraLua.Lua.LuaLGetMetafield ( IntPtr  luaState,
int  stackPos,
string  field 
)
static

◆ LuaLLoadString() [1/2]

static int KeraLua.Lua.LuaLLoadString ( IntPtr  luaState,
byte[]  chunk 
)
static

◆ LuaLLoadString() [2/2]

static int KeraLua.Lua.LuaLLoadString ( IntPtr  luaState,
string  chunk 
)
static

◆ LuaLNewMetatable()

static int KeraLua.Lua.LuaLNewMetatable ( IntPtr  luaState,
string  meta 
)
static

◆ LuaLNewState()

static IntPtr KeraLua.Lua.LuaLNewState ( )
static

◆ LuaLOpenLibs()

static void KeraLua.Lua.LuaLOpenLibs ( IntPtr  luaState)
static

◆ LuaLRef()

static int KeraLua.Lua.LuaLRef ( IntPtr  luaState,
int  registryIndex 
)
static

◆ LuaLUnref()

static void KeraLua.Lua.LuaLUnref ( IntPtr  luaState,
int  registryIndex,
int  reference 
)
static

◆ LuaLWhere()

static void KeraLua.Lua.LuaLWhere ( IntPtr  luaState,
int  level 
)
static

◆ LuaNetCheckUData()

static int KeraLua.Lua.LuaNetCheckUData ( IntPtr  luaState,
int  ud,
string  tname 
)
static

◆ LuaNetEqual()

static int KeraLua.Lua.LuaNetEqual ( IntPtr  luaState,
int  index1,
int  index2 
)
static

◆ LuaNetGetGlobal()

static void KeraLua.Lua.LuaNetGetGlobal ( IntPtr  luaState,
string  name 
)
static

◆ LuaNetGetMainState()

static IntPtr KeraLua.Lua.LuaNetGetMainState ( IntPtr  luaState)
static

◆ LuaNetGetTag()

static IntPtr KeraLua.Lua.LuaNetGetTag ( )
static

◆ LuaNetLoadBuffer() [1/2]

static int KeraLua.Lua.LuaNetLoadBuffer ( IntPtr  luaState,
byte[]  buff,
uint  size,
string  name 
)
static

◆ LuaNetLoadBuffer() [2/2]

static int KeraLua.Lua.LuaNetLoadBuffer ( IntPtr  luaState,
string  buff,
uint  size,
string  name 
)
static

◆ LuaNetLoadFile()

static int KeraLua.Lua.LuaNetLoadFile ( IntPtr  luaState,
string  filename 
)
static

◆ LuaNetNewUData()

static void KeraLua.Lua.LuaNetNewUData ( IntPtr  luaState,
int  val 
)
static

◆ LuaNetPCall()

static int KeraLua.Lua.LuaNetPCall ( IntPtr  luaState,
int  nArgs,
int  nResults,
int  errfunc 
)
static

◆ LuaNetPopGlobalTable()

static void KeraLua.Lua.LuaNetPopGlobalTable ( IntPtr  luaState)
static

◆ LuaNetPushGlobalTable()

static void KeraLua.Lua.LuaNetPushGlobalTable ( IntPtr  luaState)
static

◆ LuaNetPushLString()

static void KeraLua.Lua.LuaNetPushLString ( IntPtr  luaState,
string  str,
uint  size 
)
static

◆ LuaNetRawNetObj()

static int KeraLua.Lua.LuaNetRawNetObj ( IntPtr  luaState,
int  obj 
)
static

◆ LuaNetRegistryIndex()

static int KeraLua.Lua.LuaNetRegistryIndex ( )
static

◆ LuaNetSetGlobal()

static void KeraLua.Lua.LuaNetSetGlobal ( IntPtr  luaState,
string  name 
)
static

◆ LuaNetToNetObject()

static int KeraLua.Lua.LuaNetToNetObject ( IntPtr  luaState,
int  index 
)
static

◆ LuaNetToNumber()

static double KeraLua.Lua.LuaNetToNumber ( IntPtr  luaState,
int  index 
)
static

◆ LuaNewUserData()

static IntPtr KeraLua.Lua.LuaNewUserData ( IntPtr  luaState,
uint  size 
)
static

◆ LuaNext()

static int KeraLua.Lua.LuaNext ( IntPtr  luaState,
int  index 
)
static

◆ LuaPushBoolean()

static void KeraLua.Lua.LuaPushBoolean ( IntPtr  luaState,
int  value 
)
static

◆ LuaPushLightUserData()

static void KeraLua.Lua.LuaPushLightUserData ( IntPtr  luaState,
IntPtr  udata 
)
static

◆ LuaPushNil()

static void KeraLua.Lua.LuaPushNil ( IntPtr  luaState)
static

◆ LuaPushNumber()

static void KeraLua.Lua.LuaPushNumber ( IntPtr  luaState,
double  number 
)
static

◆ LuaPushStdCallCFunction()

static void KeraLua.Lua.LuaPushStdCallCFunction ( IntPtr  luaState,
LuaNativeFunction  fn 
)
static

◆ LuaPushString()

static void KeraLua.Lua.LuaPushString ( IntPtr  luaState,
string  str 
)
static

◆ LuaPushValue()

static void KeraLua.Lua.LuaPushValue ( IntPtr  luaState,
int  index 
)
static

◆ LuaRawGet()

static void KeraLua.Lua.LuaRawGet ( IntPtr  luaState,
int  index 
)
static

◆ LuaRawGetI()

static void KeraLua.Lua.LuaRawGetI ( IntPtr  luaState,
int  tableIndex,
int  index 
)
static

◆ LuaRawSet()

static void KeraLua.Lua.LuaRawSet ( IntPtr  luaState,
int  index 
)
static

◆ LuaRawSetI()

static void KeraLua.Lua.LuaRawSetI ( IntPtr  luaState,
int  tableIndex,
int  index 
)
static

◆ LuaRemove()

static void KeraLua.Lua.LuaRemove ( IntPtr  luaState,
int  index 
)
static

◆ LuaReplace()

static void KeraLua.Lua.LuaReplace ( IntPtr  luaState,
int  index 
)
static

◆ LuaSetHook()

static int KeraLua.Lua.LuaSetHook ( IntPtr  luaState,
LuaHook  func,
int  mask,
int  count 
)
static

◆ LuaSetLocal()

static CharPtr KeraLua.Lua.LuaSetLocal ( IntPtr  luaState,
LuaDebug  ar,
int  n 
)
static

◆ LuaSetMetatable()

static void KeraLua.Lua.LuaSetMetatable ( IntPtr  luaState,
int  objIndex 
)
static

◆ LuaSetTable()

static void KeraLua.Lua.LuaSetTable ( IntPtr  luaState,
int  index 
)
static

◆ LuaSetTop()

static void KeraLua.Lua.LuaSetTop ( IntPtr  luaState,
int  newTop 
)
static

◆ LuaSetUpValue()

static CharPtr KeraLua.Lua.LuaSetUpValue ( IntPtr  luaState,
int  funcindex,
int  n 
)
static

◆ LuaToBoolean()

static int KeraLua.Lua.LuaToBoolean ( IntPtr  luaState,
int  index 
)
static

◆ LuaToCFunction()

static LuaNativeFunction KeraLua.Lua.LuaToCFunction ( IntPtr  luaState,
int  index 
)
static

◆ LuaToLString()

static CharPtr KeraLua.Lua.LuaToLString ( IntPtr  luaState,
int  index,
out uint  strLen 
)
static

◆ LuaToUserData()

static IntPtr KeraLua.Lua.LuaToUserData ( IntPtr  luaState,
int  index 
)
static

◆ LuaType()

static int KeraLua.Lua.LuaType ( IntPtr  luaState,
int  index 
)
static

◆ LuaTypeName()

static CharPtr KeraLua.Lua.LuaTypeName ( IntPtr  luaState,
int  type 
)
static

The documentation for this class was generated from the following file: