NLua.LuaLib Class Reference

Static Public Member Functions

static int LuaGC (LuaState luaState, GCOptions what, int data)
 
static string LuaTypeName (LuaState luaState, LuaTypes type)
 
static string LuaLTypeName (LuaState luaState, int stackPos)
 
static void LuaLError (LuaState luaState, string message)
 
static void LuaLWhere (LuaState luaState, int level)
 
static LuaState LuaLNewState ()
 
static void LuaLOpenLibs (LuaState luaState)
 
static int LuaLLoadString (LuaState luaState, string chunk)
 
static int LuaLLoadString (LuaState luaState, byte[] chunk)
 
static int LuaLDoString (LuaState luaState, string chunk)
 
static int LuaLDoString (LuaState luaState, byte[] chunk)
 
static void LuaCreateTable (LuaState luaState, int narr, int nrec)
 
static void LuaNewTable (LuaState luaState)
 
static int LuaLDoFile (LuaState luaState, string fileName)
 
static void LuaGetGlobal (LuaState luaState, string name)
 
static void LuaSetGlobal (LuaState luaState, string name)
 
static void LuaSetTop (LuaState luaState, int newTop)
 
static void LuaPop (LuaState luaState, int amount)
 
static void LuaInsert (LuaState luaState, int newTop)
 
static void LuaRemove (LuaState luaState, int index)
 
static void LuaGetTable (LuaState luaState, int index)
 
static void LuaRawGet (LuaState luaState, int index)
 
static void LuaSetTable (LuaState luaState, int index)
 
static void LuaRawSet (LuaState luaState, int index)
 
static void LuaSetMetatable (LuaState luaState, int objIndex)
 
static int LuaGetMetatable (LuaState luaState, int objIndex)
 
static int LuaEqual (LuaState luaState, int index1, int index2)
 
static void LuaPushValue (LuaState luaState, int index)
 
static void LuaReplace (LuaState luaState, int index)
 
static int LuaGetTop (LuaState luaState)
 
static LuaTypes LuaType (LuaState luaState, int index)
 
static bool LuaIsNil (LuaState luaState, int index)
 
static bool LuaIsNumber (LuaState luaState, int index)
 
static bool LuaIsBoolean (LuaState luaState, int index)
 
static int LuaLRef (LuaState luaState, int registryIndex)
 
static int LuaRef (LuaState luaState, int lockRef)
 
static void LuaRawGetI (LuaState luaState, int tableIndex, int index)
 
static void LuaRawSetI (LuaState luaState, int tableIndex, int index)
 
static object LuaNewUserData (LuaState luaState, int size)
 
static object LuaToUserData (LuaState luaState, int index)
 
static void LuaGetRef (LuaState luaState, int reference)
 
static void LuaUnref (LuaState luaState, int reference)
 
static bool LuaIsString (LuaState luaState, int index)
 
static bool LuaIsCFunction (LuaState luaState, int index)
 
static void LuaPushNil (LuaState luaState)
 
static void LuaPushStdCallCFunction (LuaState luaState, LuaNativeFunction function)
 
static int LuaPCall (LuaState luaState, int nArgs, int nResults, int errfunc)
 
static LuaNativeFunction LuaToCFunction (LuaState luaState, int index)
 
static double LuaToNumber (LuaState luaState, int index)
 
static bool LuaToBoolean (LuaState luaState, int index)
 
static string LuaToString (LuaState luaState, int index)
 
static void LuaAtPanic (LuaState luaState, LuaNativeFunction panicf)
 
static void LuaPushNumber (LuaState luaState, double number)
 
static void LuaPushBoolean (LuaState luaState, bool value)
 
static void LuaPushString (LuaState luaState, string str)
 
static int LuaLNewMetatable (LuaState luaState, string meta)
 
static void LuaGetField (LuaState luaState, int stackPos, string meta)
 
static void LuaLGetMetatable (LuaState luaState, string meta)
 
static object LuaLCheckUData (LuaState luaState, int stackPos, string meta)
 
static bool LuaLGetMetafield (LuaState luaState, int stackPos, string field)
 
static int LuaLLoadBuffer (LuaState luaState, string buff, string name)
 
static int LuaLLoadBuffer (LuaState luaState, byte[] buff, string name)
 
static int LuaLLoadFile (LuaState luaState, string filename)
 
static bool LuaLCheckMetatable (LuaState luaState, int index)
 
static int LuaNetRegistryIndex ()
 
static int LuaNetToNetObject (LuaState luaState, int index)
 
static void LuaNetNewUData (LuaState luaState, int val)
 
static int LuaNetRawNetObj (LuaState luaState, int obj)
 
static int LuaNetCheckUData (LuaState luaState, int ud, string tname)
 
static void LuaError (LuaState luaState)
 
static bool LuaCheckStack (LuaState luaState, int extra)
 
static int LuaNext (LuaState luaState, int index)
 
static void LuaPushLightUserData (LuaState luaState, LuaTag udata)
 
static LuaTag LuaNetGetTag ()
 
static void LuaNetPushGlobalTable (LuaState luaState)
 
static void LuaNetPopGlobalTable (LuaState luaState)
 

Member Function Documentation

◆ LuaAtPanic()

static void NLua.LuaLib.LuaAtPanic ( LuaState  luaState,
LuaNativeFunction  panicf 
)
static

◆ LuaCheckStack()

static bool NLua.LuaLib.LuaCheckStack ( LuaState  luaState,
int  extra 
)
static

◆ LuaCreateTable()

static void NLua.LuaLib.LuaCreateTable ( LuaState  luaState,
int  narr,
int  nrec 
)
static

◆ LuaEqual()

static int NLua.LuaLib.LuaEqual ( LuaState  luaState,
int  index1,
int  index2 
)
static

◆ LuaError()

static void NLua.LuaLib.LuaError ( LuaState  luaState)
static

◆ LuaGC()

static int NLua.LuaLib.LuaGC ( LuaState  luaState,
GCOptions  what,
int  data 
)
static

◆ LuaGetField()

static void NLua.LuaLib.LuaGetField ( LuaState  luaState,
int  stackPos,
string  meta 
)
static

◆ LuaGetGlobal()

static void NLua.LuaLib.LuaGetGlobal ( LuaState  luaState,
string  name 
)
static

◆ LuaGetMetatable()

static int NLua.LuaLib.LuaGetMetatable ( LuaState  luaState,
int  objIndex 
)
static

◆ LuaGetRef()

static void NLua.LuaLib.LuaGetRef ( LuaState  luaState,
int  reference 
)
static

◆ LuaGetTable()

static void NLua.LuaLib.LuaGetTable ( LuaState  luaState,
int  index 
)
static

◆ LuaGetTop()

static int NLua.LuaLib.LuaGetTop ( LuaState  luaState)
static

◆ LuaInsert()

static void NLua.LuaLib.LuaInsert ( LuaState  luaState,
int  newTop 
)
static

◆ LuaIsBoolean()

static bool NLua.LuaLib.LuaIsBoolean ( LuaState  luaState,
int  index 
)
static

◆ LuaIsCFunction()

static bool NLua.LuaLib.LuaIsCFunction ( LuaState  luaState,
int  index 
)
static

◆ LuaIsNil()

static bool NLua.LuaLib.LuaIsNil ( LuaState  luaState,
int  index 
)
static

◆ LuaIsNumber()

static bool NLua.LuaLib.LuaIsNumber ( LuaState  luaState,
int  index 
)
static

◆ LuaIsString()

static bool NLua.LuaLib.LuaIsString ( LuaState  luaState,
int  index 
)
static

◆ LuaLCheckMetatable()

static bool NLua.LuaLib.LuaLCheckMetatable ( LuaState  luaState,
int  index 
)
static

◆ LuaLCheckUData()

static object NLua.LuaLib.LuaLCheckUData ( LuaState  luaState,
int  stackPos,
string  meta 
)
static

◆ LuaLDoFile()

static int NLua.LuaLib.LuaLDoFile ( LuaState  luaState,
string  fileName 
)
static

◆ LuaLDoString() [1/2]

static int NLua.LuaLib.LuaLDoString ( LuaState  luaState,
byte[]  chunk 
)
static

◆ LuaLDoString() [2/2]

static int NLua.LuaLib.LuaLDoString ( LuaState  luaState,
string  chunk 
)
static

◆ LuaLError()

static void NLua.LuaLib.LuaLError ( LuaState  luaState,
string  message 
)
static

◆ LuaLGetMetafield()

static bool NLua.LuaLib.LuaLGetMetafield ( LuaState  luaState,
int  stackPos,
string  field 
)
static

◆ LuaLGetMetatable()

static void NLua.LuaLib.LuaLGetMetatable ( LuaState  luaState,
string  meta 
)
static

◆ LuaLLoadBuffer() [1/2]

static int NLua.LuaLib.LuaLLoadBuffer ( LuaState  luaState,
byte[]  buff,
string  name 
)
static

◆ LuaLLoadBuffer() [2/2]

static int NLua.LuaLib.LuaLLoadBuffer ( LuaState  luaState,
string  buff,
string  name 
)
static

◆ LuaLLoadFile()

static int NLua.LuaLib.LuaLLoadFile ( LuaState  luaState,
string  filename 
)
static

◆ LuaLLoadString() [1/2]

static int NLua.LuaLib.LuaLLoadString ( LuaState  luaState,
byte[]  chunk 
)
static

◆ LuaLLoadString() [2/2]

static int NLua.LuaLib.LuaLLoadString ( LuaState  luaState,
string  chunk 
)
static

◆ LuaLNewMetatable()

static int NLua.LuaLib.LuaLNewMetatable ( LuaState  luaState,
string  meta 
)
static

◆ LuaLNewState()

static LuaState NLua.LuaLib.LuaLNewState ( )
static

◆ LuaLOpenLibs()

static void NLua.LuaLib.LuaLOpenLibs ( LuaState  luaState)
static

◆ LuaLRef()

static int NLua.LuaLib.LuaLRef ( LuaState  luaState,
int  registryIndex 
)
static

◆ LuaLTypeName()

static string NLua.LuaLib.LuaLTypeName ( LuaState  luaState,
int  stackPos 
)
static

◆ LuaLWhere()

static void NLua.LuaLib.LuaLWhere ( LuaState  luaState,
int  level 
)
static

◆ LuaNetCheckUData()

static int NLua.LuaLib.LuaNetCheckUData ( LuaState  luaState,
int  ud,
string  tname 
)
static

◆ LuaNetGetTag()

static LuaTag NLua.LuaLib.LuaNetGetTag ( )
static

◆ LuaNetNewUData()

static void NLua.LuaLib.LuaNetNewUData ( LuaState  luaState,
int  val 
)
static

◆ LuaNetPopGlobalTable()

static void NLua.LuaLib.LuaNetPopGlobalTable ( LuaState  luaState)
static

◆ LuaNetPushGlobalTable()

static void NLua.LuaLib.LuaNetPushGlobalTable ( LuaState  luaState)
static

◆ LuaNetRawNetObj()

static int NLua.LuaLib.LuaNetRawNetObj ( LuaState  luaState,
int  obj 
)
static

◆ LuaNetRegistryIndex()

static int NLua.LuaLib.LuaNetRegistryIndex ( )
static

◆ LuaNetToNetObject()

static int NLua.LuaLib.LuaNetToNetObject ( LuaState  luaState,
int  index 
)
static

◆ LuaNewTable()

static void NLua.LuaLib.LuaNewTable ( LuaState  luaState)
static

◆ LuaNewUserData()

static object NLua.LuaLib.LuaNewUserData ( LuaState  luaState,
int  size 
)
static

◆ LuaNext()

static int NLua.LuaLib.LuaNext ( LuaState  luaState,
int  index 
)
static

◆ LuaPCall()

static int NLua.LuaLib.LuaPCall ( LuaState  luaState,
int  nArgs,
int  nResults,
int  errfunc 
)
static

◆ LuaPop()

static void NLua.LuaLib.LuaPop ( LuaState  luaState,
int  amount 
)
static

◆ LuaPushBoolean()

static void NLua.LuaLib.LuaPushBoolean ( LuaState  luaState,
bool  value 
)
static

◆ LuaPushLightUserData()

static void NLua.LuaLib.LuaPushLightUserData ( LuaState  luaState,
LuaTag  udata 
)
static

◆ LuaPushNil()

static void NLua.LuaLib.LuaPushNil ( LuaState  luaState)
static

◆ LuaPushNumber()

static void NLua.LuaLib.LuaPushNumber ( LuaState  luaState,
double  number 
)
static

◆ LuaPushStdCallCFunction()

static void NLua.LuaLib.LuaPushStdCallCFunction ( LuaState  luaState,
LuaNativeFunction  function 
)
static

◆ LuaPushString()

static void NLua.LuaLib.LuaPushString ( LuaState  luaState,
string  str 
)
static

◆ LuaPushValue()

static void NLua.LuaLib.LuaPushValue ( LuaState  luaState,
int  index 
)
static

◆ LuaRawGet()

static void NLua.LuaLib.LuaRawGet ( LuaState  luaState,
int  index 
)
static

◆ LuaRawGetI()

static void NLua.LuaLib.LuaRawGetI ( LuaState  luaState,
int  tableIndex,
int  index 
)
static

◆ LuaRawSet()

static void NLua.LuaLib.LuaRawSet ( LuaState  luaState,
int  index 
)
static

◆ LuaRawSetI()

static void NLua.LuaLib.LuaRawSetI ( LuaState  luaState,
int  tableIndex,
int  index 
)
static

◆ LuaRef()

static int NLua.LuaLib.LuaRef ( LuaState  luaState,
int  lockRef 
)
static

◆ LuaRemove()

static void NLua.LuaLib.LuaRemove ( LuaState  luaState,
int  index 
)
static

◆ LuaReplace()

static void NLua.LuaLib.LuaReplace ( LuaState  luaState,
int  index 
)
static

◆ LuaSetGlobal()

static void NLua.LuaLib.LuaSetGlobal ( LuaState  luaState,
string  name 
)
static

◆ LuaSetMetatable()

static void NLua.LuaLib.LuaSetMetatable ( LuaState  luaState,
int  objIndex 
)
static

◆ LuaSetTable()

static void NLua.LuaLib.LuaSetTable ( LuaState  luaState,
int  index 
)
static

◆ LuaSetTop()

static void NLua.LuaLib.LuaSetTop ( LuaState  luaState,
int  newTop 
)
static

◆ LuaToBoolean()

static bool NLua.LuaLib.LuaToBoolean ( LuaState  luaState,
int  index 
)
static

◆ LuaToCFunction()

static LuaNativeFunction NLua.LuaLib.LuaToCFunction ( LuaState  luaState,
int  index 
)
static

◆ LuaToNumber()

static double NLua.LuaLib.LuaToNumber ( LuaState  luaState,
int  index 
)
static

◆ LuaToString()

static string NLua.LuaLib.LuaToString ( LuaState  luaState,
int  index 
)
static

◆ LuaToUserData()

static object NLua.LuaLib.LuaToUserData ( LuaState  luaState,
int  index 
)
static

◆ LuaType()

static LuaTypes NLua.LuaLib.LuaType ( LuaState  luaState,
int  index 
)
static

◆ LuaTypeName()

static string NLua.LuaLib.LuaTypeName ( LuaState  luaState,
LuaTypes  type 
)
static

◆ LuaUnref()

static void NLua.LuaLib.LuaUnref ( LuaState  luaState,
int  reference 
)
static

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