static int CallConnected(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); LuaFramework.LuaManager obj = (LuaFramework.LuaManager)ToLua.CheckObject <LuaFramework.LuaManager>(L, 1); obj.CallConnected(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }