Pokered Save Editor 2
Pokemon Red & Blue save file editor - Qt 6 C++/QML
Loading...
Searching...
No Matches
PokemonStats Struct Reference

The five battle stats, in their save/index order, exposed to QML. More...

#include <pokemonbox.h>

Inheritance diagram for PokemonStats:
Collaboration diagram for PokemonStats:

Public Types

enum  PokemonStats_ : var8 {
  Attack = 0 , Defense , Speed , Special ,
  HP
}

Detailed Description

The five battle stats, in their save/index order, exposed to QML.

QObject only so the PokemonStats_ enum is QML-visible (registered creatable in bootQmlLinkage). Order matches the game's stat layout.

Definition at line 42 of file pokemonbox.h.

Member Enumeration Documentation

◆ PokemonStats_

Enumerator
Attack 

Physical attack.

Defense 

Physical defense.

Speed 

Speed.

Special 

Special (single stat in Gen 1).

HP 

Hit points.

Definition at line 48 of file pokemonbox.h.


The documentation for this struct was generated from the following file:
  • projects/savefile/src/pse-savefile/expanded/fragments/pokemonbox.h