static int CheckAudioListener(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); QFramework.AudioManager obj = (QFramework.AudioManager)ToLua.CheckObject <QFramework.AudioManager>(L, 1); obj.CheckAudioListener(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_SoundOn(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); QFramework.AudioManager obj = (QFramework.AudioManager)o; UniRx.BoolReactiveProperty arg0 = (UniRx.BoolReactiveProperty)ToLua.CheckObject <UniRx.BoolReactiveProperty>(L, 2); obj.SoundOn = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index SoundOn on a nil value")); } }
static int get_ManagerId(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); QFramework.AudioManager obj = (QFramework.AudioManager)o; int ret = obj.ManagerId; LuaDLL.lua_pushinteger(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index ManagerId on a nil value")); } }
static int get_VoiceVolume(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); QFramework.AudioManager obj = (QFramework.AudioManager)o; float ret = obj.VoiceVolume; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index VoiceVolume on a nil value")); } }
static int get_SoundOn(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); QFramework.AudioManager obj = (QFramework.AudioManager)o; UniRx.BoolReactiveProperty ret = obj.SoundOn; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index SoundOn on a nil value")); } }