static int GetSessionID(IntPtr L) { try { ToLua.CheckArgsCount(L, 0); string o = ChannelMgr.GetSessionID(); LuaDLL.lua_pushstring(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetSessionID(IntPtr L) { try { ToLua.CheckArgsCount(L, 0); string o = ChannelMgr.GetSessionID(); LuaDLL.lua_pushstring(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }