static int _m_GetVolumeByChannel(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 __cl_gen_ret = __cl_gen_to_be_invoked.GetVolumeByChannel(eChannelType); LuaAPI.lua_pushnumber(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }