|
Pokered Save Editor 2
Pokemon Red & Blue save file editor - Qt 6 C++/QML
|
One music track: its name and bank/id, plus the maps that use it. More...
#include <music.h>
Public Member Functions | |
| MusicDBEntry () | |
| Empty entry. | |
| MusicDBEntry (QJsonValue &data) | |
| Build from a JSON value. | |
Public Attributes | |
| QString | name |
| Track name (key). | |
| var8 | bank = 0 |
| Audio bank. | |
| var8 | id = 0 |
| Track id within the bank. | |
| QVector< MapDBEntry * > | toMaps |
| Maps that play this track (back-ref, set by MapsDB). | |
One music track: its name and bank/id, plus the maps that use it.
Plain-struct DB entry (public fields). toMaps is a back-reference filled in when MapsDB deep-links. See db.md for the entry convention.
| MusicDBEntry::MusicDBEntry | ( | QJsonValue & | data | ) |
| var8 MusicDBEntry::bank = 0 |
Audio bank.
Definition at line 43 of file music.h.
Referenced by MusicDBEntry(), and AreaAudio::setTo().
| var8 MusicDBEntry::id = 0 |
| QString MusicDBEntry::name |
| QVector<MapDBEntry*> MusicDBEntry::toMaps |