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

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

                JW.Framework.Asset.BaseAsset __cl_gen_to_be_invoked = (JW.Framework.Asset.BaseAsset)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.RootPLink = (JW.PLink.PrefabLink)translator.GetObject(L, 2, typeof(JW.PLink.PrefabLink));
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
        static int _s_set_OrignalScale(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                JW.Framework.Asset.BaseAsset __cl_gen_to_be_invoked = (JW.Framework.Asset.BaseAsset)translator.FastGetCSObj(L, 1);
                UnityEngine.Vector3          __cl_gen_value; translator.Get(L, 2, out __cl_gen_value);
                __cl_gen_to_be_invoked.OrignalScale = __cl_gen_value;
            } 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.BaseAsset __cl_gen_ret = new JW.Framework.Asset.BaseAsset();
                    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.BaseAsset constructor!"));
        }
        static int _m_LoadPrimitiveAsset(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.BaseAsset __cl_gen_ret = __cl_gen_to_be_invoked.LoadPrimitiveAsset(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.BaseAsset __cl_gen_ret = __cl_gen_to_be_invoked.LoadPrimitiveAsset(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.LoadPrimitiveAsset!"));
        }
        static int _m_Unload(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);



                {
                    JW.Framework.Asset.BaseAsset ba = (JW.Framework.Asset.BaseAsset)translator.GetObject(L, 2, typeof(JW.Framework.Asset.BaseAsset));

                    __cl_gen_to_be_invoked.Unload(ba);



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