C# Class SLua.LuaSvr

Datei anzeigen Open project: tenvick/hugula Class Usage Examples

Public Properties

Property Type Description
inited bool
luaState LuaInterface.LuaState

Public Methods

Method Description
LuaSvr ( ) : System
checkTop ( IntPtr L ) : void
doinit ( IntPtr L, LuaSvrFlag flag ) : void
init ( Action tick, System.Action complete, LuaSvrFlag flag = LuaSvrFlag.LSF_BASIC ) : void
start ( string main ) : object
tick ( ) : void
waitForBind ( Action tick, System.Action complete ) : IEnumerator

Private Methods

Method Description
doBind ( object state ) : void
getBindList ( Assembly assembly, string ns ) : Action[]

Method Details

LuaSvr() public method

public LuaSvr ( ) : System
return System

checkTop() public method

public checkTop ( IntPtr L ) : void
L System.IntPtr
return void

doinit() public method

public doinit ( IntPtr L, LuaSvrFlag flag ) : void
L System.IntPtr
flag LuaSvrFlag
return void

init() public method

public init ( Action tick, System.Action complete, LuaSvrFlag flag = LuaSvrFlag.LSF_BASIC ) : void
tick Action
complete System.Action
flag LuaSvrFlag
return void

start() public method

public start ( string main ) : object
main string
return object

tick() public method

public tick ( ) : void
return void

waitForBind() public method

public waitForBind ( Action tick, System.Action complete ) : IEnumerator
tick Action
complete System.Action
return IEnumerator

Property Details

inited public_oe property

public bool inited
return bool

luaState public_oe property

public LuaState,LuaInterface luaState
return LuaInterface.LuaState