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

Implementation of Random. More...

#include "./random.h"
#include "utility.h"
#include <QQmlEngine>
Include dependency graph for random.cpp:

Go to the source code of this file.

Detailed Description

Implementation of Random.

See random.h for the documented API.

Everything here is a thin layer over QRandomGenerator::bounded(). The only real logic is the degenerate-range guard in the range helpers and the once-only QML registration latch.

Definition in file random.cpp.