EventPredictionUI
Overview
Bridges EventPanelUI with prediction-aware UI widgets. For each supported event parameter, raises a bound FloatEvent with the predicted delta (or 0 if the response doesn’t affect that parameter). Also exposes a one-shot ClearPredictions() to reset all visuals. fileciteturn24file0
Serialized (Atoms)
FloatEventmoneyPrediction, loyaltyPrediction, controlPrediction, demandPredictionFloatEventpoliceSeverityPrediction, cartelSeverityPredictionFloatEventaffinityMobsterPrediction, affinitySchemerPrediction, affinitySubterfugePrediction fileciteturn24file0
Public API
void UpdatePredictionsUI(EventResponse response);
// Looks up each parameter in response.effects and raises the matching FloatEvent
// with the effect value, or 0 if not present.
void ClearPredictions(); // raises 0 on all bound FloatEvents
Internally, PredictChange(...) scans response.effects for a given ChairmanEvent.Parameter and raises the corresponding FloatEvent. fileciteturn24file0