A snapshot of SeededRNG's internal state: a format version followed
by the four state words as unsigned 32-bit integers. Pass one back to the
constructor to resume the exact sequence it was taken from.
Opaque and bound to the major version, the same contract seeds carry: the
words mean nothing outside the engine that produced them, and a release that
changes that engine bumps the leading version. A snapshot from a different
version is rejected with an INCOMPATIBLE_RNG_STATE error rather than
resumed under the wrong semantics — safe to hold in memory or serialize for
a save file, and loud rather than silent across an upgrade.
A snapshot of SeededRNG's internal state: a format version followed by the four state words as unsigned 32-bit integers. Pass one back to the constructor to resume the exact sequence it was taken from.
Opaque and bound to the major version, the same contract seeds carry: the words mean nothing outside the engine that produced them, and a release that changes that engine bumps the leading version. A snapshot from a different version is rejected with an
INCOMPATIBLE_RNG_STATEerror rather than resumed under the wrong semantics — safe to hold in memory or serialize for a save file, and loud rather than silent across an upgrade.