Skip to main content

parse_turn_status

Function parse_turn_status 

Source
pub fn parse_turn_status(d: &Value) -> Option<(String, bool)>
Expand description

(blockid, turn_active) from a serialized BlockControllerRuntimeStatus. turn_active is skip_serializing_if = "is_false", so a turn that ENDED arrives with the field absent — absent means false (Codex P1 on #3705; treating it as “unknown” dropped every end-of-turn and “finished” never fired).