lua_AudioSource.h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. #ifndef LUA_AUDIOSOURCE_H_
  2. #define LUA_AUDIOSOURCE_H_
  3. namespace gameplay
  4. {
  5. // Lua bindings for AudioSource.
  6. int lua_AudioSource__gc(lua_State* state);
  7. int lua_AudioSource_addRef(lua_State* state);
  8. int lua_AudioSource_getGain(lua_State* state);
  9. int lua_AudioSource_getNode(lua_State* state);
  10. int lua_AudioSource_getPitch(lua_State* state);
  11. int lua_AudioSource_getRefCount(lua_State* state);
  12. int lua_AudioSource_getState(lua_State* state);
  13. int lua_AudioSource_getVelocity(lua_State* state);
  14. int lua_AudioSource_isLooped(lua_State* state);
  15. int lua_AudioSource_pause(lua_State* state);
  16. int lua_AudioSource_play(lua_State* state);
  17. int lua_AudioSource_release(lua_State* state);
  18. int lua_AudioSource_resume(lua_State* state);
  19. int lua_AudioSource_rewind(lua_State* state);
  20. int lua_AudioSource_setGain(lua_State* state);
  21. int lua_AudioSource_setLooped(lua_State* state);
  22. int lua_AudioSource_setPitch(lua_State* state);
  23. int lua_AudioSource_setVelocity(lua_State* state);
  24. int lua_AudioSource_static_create(lua_State* state);
  25. int lua_AudioSource_stop(lua_State* state);
  26. void luaRegister_AudioSource();
  27. }
  28. #endif