static int __CreateInstance(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    LuaScriptUtil __cl_gen_ret = new LuaScriptUtil();
                    translator.Push(L, __cl_gen_ret);

                    return(1);
                }
            }
            catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(LuaAPI.luaL_error(L, "invalid arguments to LuaScriptUtil constructor!"));
        }
        static int _m_SetLuaFunctionDelegate_xlua_st_(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);



            try {
                {
                    System.Collections.Generic.List <EventDelegate> list = (System.Collections.Generic.List <EventDelegate>)translator.GetObject(L, 1, typeof(System.Collections.Generic.List <EventDelegate>));
                    XLua.LuaFunction func = (XLua.LuaFunction)translator.GetObject(L, 2, typeof(XLua.LuaFunction));

                    LuaScriptUtil.SetLuaFunctionDelegate(list, func);



                    return(0);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }