|
Pokered Save Editor 2
Pokemon Red & Blue save file editor - Qt 6 C++/QML
|
The save's playtime clock, surfaced to QML as days/hours/minutes/seconds/frames. More...
#include <worldother.h>
Public Attributes | |
| int | hours |
| Max 255. | |
| int | minutes |
| Max 59, any higher will reset to zero and increment hr by 1. | |
| int | seconds |
| Max 59, any higher will reset to zero and increment min by 1. | |
| int | frames |
| Max 59, any higher will reset to zero and increment sec by 1. | |
| bool | clockMaxed |
| Any value; it just stops the clock completely. | |
The save's playtime clock, surfaced to QML as days/hours/minutes/seconds/frames.
Stored on disk as hours/minutes/seconds/frames (hours up to 255), this object adds day<->hour conversion (getDays / getHoursAdjusted) so the UI can show "10 days, 15 hours" instead of raw hours, and a clockMaxed flag that stops the clock. Backs the Trainer Card playtime display. The field comments below give the per-unit overflow rules.
Definition at line 36 of file worldother.h.
| bool Playtime::clockMaxed |
Any value; it just stops the clock completely.
Definition at line 69 of file worldother.h.
| int Playtime::frames |
Max 59, any higher will reset to zero and increment sec by 1.
Definition at line 66 of file worldother.h.
| int Playtime::hours |
Max 255.
Definition at line 63 of file worldother.h.
| int Playtime::minutes |
Max 59, any higher will reset to zero and increment hr by 1.
Definition at line 64 of file worldother.h.
| int Playtime::seconds |
Max 59, any higher will reset to zero and increment min by 1.
Definition at line 65 of file worldother.h.