Enter play mode. Returns: Dictionary with operation result
(self)
| 15 | self._conn = conn |
| 16 | |
| 17 | def play(self) -> dict[str, Any]: |
| 18 | """Enter play mode. |
| 19 | |
| 20 | Returns: |
| 21 | Dictionary with operation result |
| 22 | """ |
| 23 | return self._conn.send_request("playmode", {"action": "enter"}) |
| 24 | |
| 25 | def pause(self) -> dict[str, Any]: |
| 26 | """Pause/unpause game. |