C# Class YwLuaSvr, 2DPlatformer-SLua

Inheritance: SLua.LuaSvr
Mostra file Open project: yaukeywang/2DPlatformer-SLua Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
FormatException ( System e ) : string
GetFunction ( string strFuncName ) : LuaFunction
Initialize ( Action cProgress, Action cComplete, LuaSvrFlag eFlag = LuaSvrFlag.LSF_BASIC ) : bool
YwLuaSvr ( ) : System
this ( string strName ) : object

Protected Methods

Method Description
yw_lua_import_internal ( IntPtr l ) : int

Private Methods

Method Description
LuaPersistentFileLoader ( string strFile ) : byte[]
LuaResourceFileLoader ( string strFile ) : byte[]
LuaStreamFileLoader ( string strFile ) : byte[]
OnBindLuaComplete ( ) : void
SetupLuaPackagePath ( ) : void
yw_lua_import ( IntPtr l ) : int

Method Details

Dispose() public method

public Dispose ( ) : void
return void

FormatException() public static method

public static FormatException ( System e ) : string
e System
return string

GetFunction() public method

public GetFunction ( string strFuncName ) : LuaFunction
strFuncName string
return LuaFunction

Initialize() public method

public Initialize ( Action cProgress, Action cComplete, LuaSvrFlag eFlag = LuaSvrFlag.LSF_BASIC ) : bool
cProgress Action
cComplete Action
eFlag LuaSvrFlag
return bool

YwLuaSvr() public method

public YwLuaSvr ( ) : System
return System

this() public method

public this ( string strName ) : object
strName string
return object

yw_lua_import_internal() protected static method

protected static yw_lua_import_internal ( IntPtr l ) : int
l IntPtr
return int