static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { JW.Framework.Quality.QualityService __cl_gen_ret = new JW.Framework.Quality.QualityService(); 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.Quality.QualityService constructor!")); }
static int _m_GetQualityService_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); { JW.Framework.Quality.QualityService __cl_gen_ret = JW.Lua.LuaInteraction.GetQualityService( ); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_Uninitialize(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.Quality.QualityService __cl_gen_to_be_invoked = (JW.Framework.Quality.QualityService)translator.FastGetCSObj(L, 1); { __cl_gen_to_be_invoked.Uninitialize( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_LoadGlobalReflectionCubeMap(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.Quality.QualityService __cl_gen_to_be_invoked = (JW.Framework.Quality.QualityService)translator.FastGetCSObj(L, 1); { float intensity = (float)LuaAPI.lua_tonumber(L, 2); string resPath = LuaAPI.lua_tostring(L, 3); __cl_gen_to_be_invoked.LoadGlobalReflectionCubeMap(intensity, resPath); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }