- summary: A cell obstacle on the map (a door, a gate) and whether it is open or closed.
- area: Game.Gamemap
A cell obstacle on the map (a door, a gate) and whether it is open or closed.
Kind struct · Area Game.Gamemap
One obstacle of the map: MapObstacle.cell_id is the cell it occupies, MapObstacle.state
whether it is open or closed (beta: 0 opened, 1 closed). Treat a closed obstacle's cell as
blocked when you compute a path.
Not sent on its own — a record carried by MapComplementaryInformationEvent.obstacles, never sent on its own. inferred
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | state | ObstacleState | Whether the obstacle is open or closed. Beta: 0 = OBSTACLE_OPENED, 1 = OBSTACLE_CLOSED; the values are not named here. | never |
| 2 | cell_id | int32 | The cell the obstacle occupies. | never |