class

FLevelRandom

A deterministic 32-bit PCG stream. Its own, not FRandomStream: the level a seed produces is pinned by golden hashes across builds, so the generator's randomness must never change when something else's does.

Module
LevelGen
Header
#include "LevelGen/LevelGenerator.h"
Namespace
Mowo

Constructors

SignatureNameDescription
explicit FLevelRandom(uint64_t seed)FLevelRandom

Public functions

ReturnsNameDescription
uint32_tNext
uint32_tBelowUniform in [0, bound); bound 0 returns 0.

Function details

FLevelRandom

C++
explicit FLevelRandom(uint64_t seed)

Next

C++
uint32_t Next()

Below

C++
uint32_t Below(uint32_t bound)

Uniform in [0, bound); bound 0 returns 0.

Generated from LevelGen/LevelGenerator.h via levelgen.json · Oct 26, 2026Version 1.0.0