|
Pokered Save Editor 2
Pokemon Red & Blue save file editor - Qt 6 C++/QML
|
One trainer-class definition (its name/index and flags). More...
#include <trainers.h>
Public Member Functions | |
| TrainerDBEntry () | |
| Empty entry. | |
| TrainerDBEntry (QJsonValue &data) | |
| Build from a JSON value. | |
Public Attributes | |
| QString | name |
| Trainer-class name (key). | |
| var8 | ind = 0 |
| Trainer-class index. | |
| bool | unused = false |
| Whether this slot is unused. | |
| bool | opp = false |
| Whether it's an opponent class. | |
| QVector< MapDBEntrySpriteTrainer * > | tpMapSpriteTrainers |
| On-map trainers of this class (back-ref). | |
One trainer-class definition (its name/index and flags).
Plain-struct DB entry. tpMapSpriteTrainers is a back-reference of every on-map trainer sprite of this class (filled when MapsDB deep-links). See db.md.
Definition at line 38 of file trainers.h.
| TrainerDBEntry::TrainerDBEntry | ( | ) |
Empty entry.
Definition at line 29 of file trainers.cpp.
| TrainerDBEntry::TrainerDBEntry | ( | QJsonValue & | data | ) |
| var8 TrainerDBEntry::ind = 0 |
| QString TrainerDBEntry::name |
| bool TrainerDBEntry::opp = false |
Whether it's an opponent class.
Definition at line 45 of file trainers.h.
Referenced by TrainerDBEntry().
| QVector<MapDBEntrySpriteTrainer*> TrainerDBEntry::tpMapSpriteTrainers |
On-map trainers of this class (back-ref).
Definition at line 47 of file trainers.h.
| bool TrainerDBEntry::unused = false |
Whether this slot is unused.
Definition at line 44 of file trainers.h.
Referenced by TrainerDBEntry().