static int _m_UnloadUnusedAssets(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Res.ResService __cl_gen_to_be_invoked = (JW.Res.ResService)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); if (__gen_param_count == 2 && translator.Assignable <JW.Common.JWObjList <string> >(L, 2)) { JW.Common.JWObjList <string> willUseAssets = (JW.Common.JWObjList <string>)translator.GetObject(L, 2, typeof(JW.Common.JWObjList <string>)); __cl_gen_to_be_invoked.UnloadUnusedAssets(willUseAssets); return(0); } if (__gen_param_count == 1) { __cl_gen_to_be_invoked.UnloadUnusedAssets( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to JW.Res.ResService.UnloadUnusedAssets!")); }
static int _m_GetForms(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UGUIRoot __cl_gen_to_be_invoked = (JW.Framework.UGUI.UGUIRoot)translator.FastGetCSObj(L, 1); { JW.Common.JWObjList <JW.Framework.UGUI.UIForm> __cl_gen_ret = __cl_gen_to_be_invoked.GetForms( ); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }