struct

LevelGenerationComponent

Drop one in a scene to generate the level at play: the grammar (the built-in AJAX facility when empty), the seed, and where the grid starts (the entity's position). The runtime half reports what came out.

Module
LevelGen
Header
#include "LevelGen/LevelGenerationComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Properties

TypeNameDescription
boolenabledDefault true.
std::stringgrammar
int32_tseedDefault 1.
boolrandomSeedA new seed each play (logged, so a run can be reproduced). Default false.
boolgenerateOnPlayDefault true.
boolrequireValidRefuse to spawn a layout that fails any of the nine validation passes. Default true.
boolreplicateSeedIn a session the host decides the seed (its own, or a random one) and sends it; clients build nothing until it arrives, then build the same level. Off, every machine uses its own Seed / Random Seed. Default true.
boolgeneratedDefault false.
boolwaitingForSeedDefault false.
int32_tlevelModulesDefault 0.
boolvalidDefault false.
int32_tusedSeedDefault 0.
int32_troomsDefault 0.
int32_tspawnedPrefabsDefault 0.
uint64_tlayoutHashDefault 0.

Constructors

SignatureNameDescription
LevelGenerationComponent() = defaultLevelGenerationComponent

Function details

LevelGenerationComponent

C++
LevelGenerationComponent() = default
Generated from LevelGen/LevelGenerationComponent.h via levelgen.json · Oct 26, 2026Version 1.0.0