C# Class BOLTStack.XLLuaRuntime

Exibir arquivo Open project: fanfeilong/boltstack

Public Methods

Method Description
PrintAllGlobalClasses ( ) : void
PrintAllGlobalMethods ( ) : void
RegisterClass ( IntPtr hEnviroment, XLRTClassInfo info ) : void
RegisterGlobalAPI ( IntPtr hEnviroment, XLRTMethodsInfo info ) : void
RegisterGlobalObject ( IntPtr hEnviroment, XLRTObjectInfo info ) : void

Private Methods

Method Description
XLLRT_AddLoadLuaFile ( [ lpLuaFile ) : string
XLLRT_AddRefChunk ( IntPtr hChunk ) : UInt32
XLLRT_AddRefEnv ( IntPtr hEnv ) : UInt32
XLLRT_AddRefRunTime ( IntPtr hRunTime ) : UInt32
XLLRT_BeginEnumGlobalAPI ( IntPtr hEnv ) : IntPtr
XLLRT_BeginEnumGlobalClass ( IntPtr hEnv ) : IntPtr
XLLRT_BeginEnumGlobalObject ( IntPtr hEnv ) : IntPtr
XLLRT_CheckXLObject ( IntPtr luaState, int index, string className, IntPtr lplpObj ) : UInt32
XLLRT_CreateChunk ( [ pstrName, string pCodeBuffer, UInt32 len, IntPtr pResult ) : UInt32
XLLRT_CreateChunkFromFile ( [ pstrName, [ path, IntPtr pResult ) : UInt32
XLLRT_CreateChunkFromModule ( [ pstrName, [ modulePath, string func, IntPtr pResult ) : UInt32
XLLRT_CreateEnv ( [ pstrEnvName ) : IntPtr
XLLRT_CreateRunTime ( IntPtr hEnv, string id, UInt32 permission ) : IntPtr
XLLRT_DebugCreateLogs ( IntPtr pLogs ) : UInt32
XLLRT_DebugCreateStackMemPool ( IntPtr pMemPool ) : UInt32
XLLRT_DebugDesroyStackMemPool ( IntPtr MemPool ) : UInt32
XLLRT_DebugDestroyLogs ( IntPtr logs ) : UInt32
XLLRT_DebugDestroyState ( IntPtr pState ) : UInt32
XLLRT_DebugGetCallLog ( IntPtr pMemPool ) : UInt32
XLLRT_DebugGetCurState ( IntPtr ppState ) : UInt32
XLLRT_DebugGetDebugeeName ( StringBuilder pBuf ) : UInt32
XLLRT_DebugGetDumpList ( IntPtr CallbackParam, IntPtr CallbackInput, IntPtr CallbackOutput ) : int
XLLRT_DebugGetProcessCallLog ( IntPtr DebugeeName, IntPtr pMemPool ) : UInt32
XLLRT_DebugGetProcessCurState ( IntPtr DebugeeName, IntPtr ppState ) : UInt32
XLLRT_DebugGetProcessStackLog ( IntPtr DebugeeName, IntPtr pMemPool ) : UInt32
XLLRT_DebugGetStackLog ( IntPtr pMemPool ) : UInt32
XLLRT_DebugGetStateFromDump ( IntPtr pDumpData, IntPtr pMemList, IntPtr ppState ) : UInt32
XLLRT_DebugGetType ( IntPtr pType ) : UInt32
XLLRT_DebugInit ( IntPtr DebugeeName, UInt32 dwDbgType ) : UInt32
XLLRT_DebugLogsPopNextLog ( string pLog, IntPtr logs ) : UInt32
XLLRT_DebugMemPoolGetLogs ( IntPtr MemPool, IntPtr logs ) : UInt32
XLLRT_DebugOutputLuaStack ( IntPtr pState, IntPtr MemPool ) : UInt32
XLLRT_DestroyEnv ( [ pEnvName ) : UInt32
XLLRT_DestroyRunTime ( IntPtr hEnv, string pID ) : UInt32
XLLRT_DoRegisterClass ( string className, IntPtr luaState ) : UInt32
XLLRT_DumpTable ( IntPtr hRuntime, UInt32 tableRef ) : UInt32
XLLRT_EndEnum ( IntPtr hEnum ) : bool
XLLRT_ErrorHandle ( fnLuaErrorHandle pfnErrorHandle ) : UInt32
XLLRT_GetAllLuaState ( IntPtr luaState, int nCount ) : int
XLLRT_GetChunkName ( IntPtr hChunk ) : string
XLLRT_GetChunkType ( IntPtr hChunk ) : UInt32
XLLRT_GetEnv ( [ pstrEnvName ) : IntPtr
XLLRT_GetFunctionAddress ( LuaCFunction lpFun ) : LuaCFunction
XLLRT_GetLastError ( IntPtr luaState ) : string
XLLRT_GetLoadLuaFileByIndex ( int nIndex, [ wstrFilePath, int nLen ) : UInt32
XLLRT_GetLoadLuaFileCount ( ) : int
XLLRT_GetLuaState ( IntPtr hRunTime ) : IntPtr
XLLRT_GetNextGlobalAPI ( IntPtr hEnum, IntPtr lpGlobalAPI ) : bool
XLLRT_GetNextGlobalClass ( IntPtr hEnum, IntPtr lpGlobalClass ) : bool
XLLRT_GetNextGlobalObject ( IntPtr hEnum, IntPtr lpGlobalObj ) : bool
XLLRT_GetOwnerEnv ( IntPtr hRunTime ) : IntPtr
XLLRT_GetRuntime ( IntPtr hEnv, string pRuntimeID ) : IntPtr
XLLRT_GetRuntimeFromLuaState ( IntPtr luaState ) : IntPtr
XLLRT_GetRuntimeID ( IntPtr hRuntime ) : string
XLLRT_GetRuntimePermission ( IntPtr hRuntime ) : UInt32
XLLRT_GetVersion ( ) : UInt32
XLLRT_GetXLObject ( IntPtr luaState, int index, string className, IntPtr lplpObj ) : UInt32
XLLRT_GetXLObjectClass ( IntPtr luaState, int index ) : string
XLLRT_IsClassRegistered ( IntPtr hEnv, string className ) : bool
XLLRT_IsDerivedClass ( IntPtr hEnv, string lpDerivedClass, string lpBaseClass ) : bool
XLLRT_IsGlobalAPIRegistered ( IntPtr hEnv, string theAPIName ) : bool
XLLRT_IsGlobalObjRegistered ( IntPtr hEnv, string objName ) : UInt32
XLLRT_LuaCall ( IntPtr luaState, int args, int results, [ contextInfo ) : UInt32
XLLRT_PrepareChunk ( IntPtr hRunTime, IntPtr hChunk ) : UInt32
XLLRT_PushXLObject ( IntPtr luaState, string className, IntPtr pRealObj ) : UInt32
XLLRT_RegisterClass ( IntPtr hEnv, string className, IntPtr MemberFunctions, string fahterClassName, UInt32 permission ) : UInt32
XLLRT_RegisterGlobalAPI ( IntPtr hEnv, XLLRTGlobalAPI theAPI ) : UInt32
XLLRT_RegisterGlobalObj ( IntPtr hEnv, XLLRTObject theObj ) : UInt32
XLLRT_RegisterGlobalSetCallback ( IntPtr hEnv, fnGlobalSetCallback pfnCallback, IntPtr udata ) : UInt32
XLLRT_ReleaseChunk ( IntPtr hChunk ) : UInt32
XLLRT_ReleaseEnv ( IntPtr hEnv ) : UInt32
XLLRT_ReleaseRunTime ( IntPtr hRunTime ) : UInt32
XLLRT_RemoveClassFunctionHook ( IntPtr hEnv, string className, string name, IntPtr hook ) : bool
XLLRT_RemoveGlobalAPI ( IntPtr hEnv, string theAPIName ) : UInt32
XLLRT_RemoveGlobalAPIHook ( IntPtr hEnv, string name, IntPtr hook ) : bool
XLLRT_RemoveGlobalObj ( IntPtr hEnv, string objName ) : UInt32
XLLRT_RemoveGlobalObjectFunctionHook ( IntPtr hEnv, string objName, string name, IntPtr hook ) : bool
XLLRT_RunChunk ( IntPtr hRunTime, IntPtr hChunk ) : UInt32
XLLRT_SetClassFunctionHook ( IntPtr hEnv, string className, string name, LuaCFunction func, [ pre ) : IntPtr
XLLRT_SetGlobalAPIHook ( IntPtr hEnv, string name, LuaCFunction func, [ pre ) : IntPtr
XLLRT_SetGlobalObjectFunctionHook ( IntPtr hEnv, string objName, string name, LuaCFunction func, [ pre ) : IntPtr
XLLRT_Stat ( UInt32 type ) : UInt32
XLLRT_UnRegisterClass ( IntPtr hEnv, string className ) : UInt32

Method Details

PrintAllGlobalClasses() public static method

public static PrintAllGlobalClasses ( ) : void
return void

PrintAllGlobalMethods() public static method

public static PrintAllGlobalMethods ( ) : void
return void

RegisterClass() public static method

public static RegisterClass ( IntPtr hEnviroment, XLRTClassInfo info ) : void
hEnviroment System.IntPtr
info XLRTClassInfo
return void

RegisterGlobalAPI() public static method

public static RegisterGlobalAPI ( IntPtr hEnviroment, XLRTMethodsInfo info ) : void
hEnviroment System.IntPtr
info XLRTMethodsInfo
return void

RegisterGlobalObject() public static method

public static RegisterGlobalObject ( IntPtr hEnviroment, XLRTObjectInfo info ) : void
hEnviroment System.IntPtr
info XLRTObjectInfo
return void