{"schema": "cks-public-reference/v1", "entry": {"id": "api-5d909a0083cf9e", "name": "Unit::AI", "member": "AI", "family": "Unit", "returns": "bool", "args": [], "kind": "method", "signature": "bool Unit::AI()", "language": "en", "summary": "Queries whether a unit is controlled by AI by verifying player AI state and checking the squad record's active AI flag.", "notes": null, "examples": [], "technical": false, "description_status": "documented"}}