{"schema": "cks-public-reference/v1", "entry": {"id": "api-e52da809a96231", "name": "Settlement::BestBarrack", "member": "BestBarrack", "family": "Settlement", "returns": "Barrack", "args": ["int"], "kind": "method", "signature": "Barrack Settlement::BestBarrack(int)", "language": "en", "summary": "Selects an eligible barracks in the settlement with the lowest score accepted by its selection procedure. Returns an invalid reference if no candidate is selected.", "notes": "Selection filters settlement members and excludes barracks in a particular state. The exact meaning of that state, the score, and the integer argument is not fully documented; this entry does not identify them as distance, level, or unit count.", "examples": [], "technical": false, "description_status": "documented"}}