static int _m_ChangeVolume(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.Audio.AudioService __cl_gen_to_be_invoked = (JW.Framework.Audio.AudioService)translator.FastGetCSObj(L, 1); { uint eChannelType = LuaAPI.xlua_touint(L, 2); float in_value = (float)LuaAPI.lua_tonumber(L, 3); __cl_gen_to_be_invoked.ChangeVolume(eChannelType, in_value); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }