class
FConstructionScheduler
- Module
- Game
- Header
#include "Game/ConstructionScheduler.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
static constexpr uint8_t | kMaxChain | Hops a re-run may chain through other actors before the chain is cut. Default 8. |
Public functions
| Returns | Name | Description |
|---|---|---|
void | RequestChange | component is empty for the actor itself, else the component's name: an identity that survives the object being rebuilt between request and flush. |
void | RequestMove | The actor's transform changed (a gizmo move, a transform edit). |
void | RequestRerun | Something about the actor changed and the edit did not say what. |
void | Flush | Runs the queued re-runs inside the budget. |
void | Clear | |
size_t | PendingCount | |
const FStats& | GetStats | |
double | GetDebtMs | Budget still owed to earlier overruns, in milliseconds. |
void | SetClock | The clock Flush measures with, in milliseconds. |
void | SetBudgetMs | Overrides ed.ConstructionBudgetMs for this scheduler (< 0 = use the cvar). |
Function details
RequestChange
C++
void RequestChange(EntityID entity, const std::string& component, FName property)component is empty for the actor itself, else the component's name: an identity that survives the object being rebuilt between request and flush.
RequestMove
C++
void RequestMove(EntityID entity)The actor's transform changed (a gizmo move, a transform edit).
RequestRerun
C++
void RequestRerun(EntityID entity)Something about the actor changed and the edit did not say what.
Flush
C++
void Flush(Scene& scene)Runs the queued re-runs inside the budget. Only a scene that is the level being authored runs anything; a Play world drops its queue.
Clear
C++
void Clear()PendingCount
C++
size_t PendingCount() constGetStats
C++
const FStats& GetStats() constGetDebtMs
C++
double GetDebtMs() constBudget still owed to earlier overruns, in milliseconds.
SetClock
C++
void SetClock(std::function<double()> nowMs)The clock Flush measures with, in milliseconds. Tests install a fake one so a budget is deterministic; the default is the steady clock.
SetBudgetMs
C++
void SetBudgetMs(double budgetMs)Overrides ed.ConstructionBudgetMs for this scheduler (< 0 = use the cvar).
Generated from Game/ConstructionScheduler.h via game.json · Dec 5, 2026Version 1.1.0