C# Class QFrameworkLua.QLuaMgr

Inheritance: QFramework.QMgrBehaviour
Show file Open project: liangxiegame/QFramework Class Usage Examples

Protected Properties

Property Type Description
mInitialized bool

Public Methods

Method Description
CallFunction ( string funcName ) : object[]
Close ( ) : void
Dispose ( ) : void
DoFile ( string filename ) : object[]
ExecuteLuaFile ( string luaFileName, string functionName ) : void
InitStart ( ) : void
LuaGC ( ) : void

Protected Methods

Method Description
OpenCJson ( ) : void
SetupMgr ( ) : void
SetupMgrId ( ) : void

Private Methods

Method Description
Awake ( ) : void
InitLuaBundle ( ) : void

初始化LuaBundle

InitLuaPath ( ) : void

初始化Lua代码加载路径

OpenLibs ( ) : void

初始化加载第三方库

StartLooper ( ) : void

Method Details

CallFunction() public method

public CallFunction ( string funcName ) : object[]
funcName string
return object[]

Close() public method

public Close ( ) : void
return void

Dispose() public static method

public static Dispose ( ) : void
return void

DoFile() public method

public DoFile ( string filename ) : object[]
filename string
return object[]

ExecuteLuaFile() public method

public ExecuteLuaFile ( string luaFileName, string functionName ) : void
luaFileName string
functionName string
return void

InitStart() public method

public InitStart ( ) : void
return void

LuaGC() public method

public LuaGC ( ) : void
return void

OpenCJson() protected method

protected OpenCJson ( ) : void
return void

SetupMgr() protected method

protected SetupMgr ( ) : void
return void

SetupMgrId() protected method

protected SetupMgrId ( ) : void
return void

Property Details

mInitialized protected static property

protected static bool mInitialized
return bool