class
FAttentionSystem
Attention (AJAX's threat meter): how much the Substrate has noticed the crew's scanning. The HOST owns the number. Every scan any player fires adds its band weight — times the Fill multiplier for a full-sphere Fill, times the tripod multiplier for a mounted scanner — and it decays over time.
- Module
- Game
- Header
#include "Gameplay/AttentionSystem.h"- Namespace
Mowo
Audit N10: the host keeps it in 16.16 fixed point, advanced at 10 Hz so every build and every frame rate lands on the same bits, and ships it to clients as a u8 at 2 Hz. A client only ever displays the last value it was sent; it never computes its own.
Properties
| Type | Name | Description |
|---|---|---|
static constexpr uint16_t | kNetEventId | Default 0xFE20. |
static constexpr float | kStepSeconds | Default 0.1f. |
static constexpr float | kSendSeconds | Default 0.5f. |
static constexpr const char* | kAudioParameter | Published to FAudioParameters every Tick: the normalised value (0..1) and the stage, so ambience beds, submixes and MetaSound inputs bind to Attention without gameplay code driving them. Default "Attention". |
static constexpr const char* | kAudioStageParameter | Default "AttentionStage". |
Public functions
| Returns | Name | Description |
|---|---|---|
FAttentionSystem& | Get | |
void | SetProfile | |
const FAttentionProfile& | GetProfile | |
void | AddEmission | Host (or offline) only; a client call is ignored. |
void | AddShot | |
void | AddRaw | |
void | Tick | |
void | Reset | |
float | GetAttention | |
float | GetNormalized | |
int32_t | GetStage | |
float | GetStageProgress | 0..1 across the current stage (1 at the top stage's threshold). |
float | GetBreathingAmplitude | |
float | GetBreathingPeriod | |
uint8_t | Quantize | The wire form: attention as a fraction of MaxAttention in 0..255. |
void | ApplyQuantized | |
int32_t | GetFixed | |
bool | IsAuthority | |
void | PublishAudioParameters |
Function details
Get
C++
static FAttentionSystem& Get()SetProfile
C++
void SetProfile(const FAttentionProfile& profile)GetProfile
C++
const FAttentionProfile& GetProfile() constAddEmission
C++
void AddEmission(const std::string& band, bool fill, bool tripod, float intensity)Host (or offline) only; a client call is ignored.
AddShot
C++
void AddShot(const FLidarShot& shot)AddRaw
C++
void AddRaw(float amount)Tick
C++
void Tick(float deltaSeconds)Reset
C++
void Reset()GetAttention
C++
float GetAttention() constGetNormalized
C++
float GetNormalized() constGetStage
C++
int32_t GetStage() constGetStageProgress
C++
float GetStageProgress() const0..1 across the current stage (1 at the top stage's threshold).
GetBreathingAmplitude
C++
float GetBreathingAmplitude() constGetBreathingPeriod
C++
float GetBreathingPeriod() constQuantize
C++
uint8_t Quantize() constThe wire form: attention as a fraction of MaxAttention in 0..255.
ApplyQuantized
C++
void ApplyQuantized(uint8_t value)GetFixed
C++
int32_t GetFixed() constIsAuthority
C++
bool IsAuthority() constPublishAudioParameters
C++
void PublishAudioParameters() constGenerated from Gameplay/AttentionSystem.h via game.json · Nov 5, 2026Version 1.0.0