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

                JW.Framework.Asset.UIAsset __cl_gen_to_be_invoked = (JW.Framework.Asset.UIAsset)translator.FastGetCSObj(L, 1);
                translator.Push(L, __cl_gen_to_be_invoked.PLinkCom);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
        static int _s_set_FormCom(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                JW.Framework.Asset.UIAsset __cl_gen_to_be_invoked = (JW.Framework.Asset.UIAsset)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.FormCom = (JW.Framework.UGUI.UIForm)translator.GetObject(L, 2, typeof(JW.Framework.UGUI.UIForm));
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    JW.Framework.Asset.UIAsset __cl_gen_ret = new JW.Framework.Asset.UIAsset();
                    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 JW.Framework.Asset.UIAsset constructor!"));
        }
        static int _m_LoadUIAsset(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                JW.Framework.Asset.AssetService __cl_gen_to_be_invoked = (JW.Framework.Asset.AssetService)translator.FastGetCSObj(L, 1);


                int __gen_param_count = LuaAPI.lua_gettop(L);

                if (__gen_param_count == 3 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
                {
                    string filename = LuaAPI.lua_tostring(L, 2);
                    int    lifeType = LuaAPI.xlua_tointeger(L, 3);

                    JW.Framework.Asset.UIAsset __cl_gen_ret = __cl_gen_to_be_invoked.LoadUIAsset(filename, lifeType);
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
                if (__gen_param_count == 2 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING))
                {
                    string filename = LuaAPI.lua_tostring(L, 2);

                    JW.Framework.Asset.UIAsset __cl_gen_ret = __cl_gen_to_be_invoked.LoadUIAsset(filename);
                    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 JW.Framework.Asset.AssetService.LoadUIAsset!"));
        }