MCPcopy Create free account
hub / github.com/EasyRPG/Player / SetAudio

Function SetAudio

src/game_system.cpp:254–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252
253template <typename T>
254static void SetAudio(T& save, const T& db, T update) {
255 if (update == db) {
256 // RPG_RT only clears the name, but leaves the rest of the values alone
257 save.name = {};
258 } else {
259 save = std::move(update);
260 }
261}
262
263const lcf::rpg::Music& Game_System::GetSystemBGM(int which) {
264 switch (which) {

Callers 2

SetSystemBGMMethod · 0.85
SetSystemSEMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected