class
FAttentionProfile
The one source of truth for Attention's numbers (audit C6/C8/C9/C10): band weights, stage thresholds, the Fill and tripod multipliers, decay and the per-stage "breathing" of the Substrate (P13). Host computes with it, the client reads it to show the stage, tools edit it — the four conflicts the audit listed disappear once they all read the same .mattention.
- Module
- Game
- Header
#include "Gameplay/AttentionProfile.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
static constexpr int32_t | kStageCount | Default 4. |
std::unordered_map<std::string, float> | BandWeights | Weight per scan band by name ("Standard", "Far", "Bio", "Tracer", "Precise", "Deep"); a band the table does not name weighs 1. |
float Thresholds[kStageCount] = | Attention at which stages 1..4 begin; below the first is stage 0. | |
float | MaxAttention | Default 120.0f. |
float | ShotCost | Default 1.0f. |
float | FillMultiplier | Default 3.0f. |
float | TripodMultiplier | Default 0.5f. |
float | DecayPerSecond | Default 1.5f. |
float BreathingAmplitude[kStageCount + 1] = | Substrate breathing per stage 0..4: displacement amplitude (metres) and period (seconds). | |
float BreathingPeriod[kStageCount + 1] = |
Public functions
| Returns | Name | Description |
|---|---|---|
float | WeightForBand | |
std::string | SerializeToString | |
bool | LoadFromString | |
bool | LoadFromFile | |
bool | SaveToFile | |
FAttentionProfile | CreateDefault | The audit's starting numbers: Far ×3.0, Bio ×1.5, Tracer ×0.8. |
Function details
WeightForBand
C++
float WeightForBand(const std::string& band) constSerializeToString
C++
std::string SerializeToString() constLoadFromString
C++
bool LoadFromString(const std::string& text)LoadFromFile
C++
bool LoadFromFile(const std::string& path)SaveToFile
C++
bool SaveToFile(const std::string& path) constCreateDefault
C++
static FAttentionProfile CreateDefault()The audit's starting numbers: Far ×3.0, Bio ×1.5, Tracer ×0.8.
Generated from Gameplay/AttentionProfile.h via game.json · Nov 5, 2026Version 1.0.0