Add vehicle listing support to admin client
The Admin Network has no native packet for listing individual vehicles, so list_vehicles() sends a "list_vehicles" command over the existing GameScript JSON channel and relies on a companion server-side script to reply with vehicle data via ServerGamescript. Requires subscribing to Gamescript updates (documented in docs/PROTOCOL.md) to receive the reply. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -9,6 +9,7 @@ A high-performance, Object-Oriented Python client for OpenTTD servers, specifica
|
||||
- **Modular Design:** Separates low-level binary protocol handling from high-level game logic.
|
||||
- **State Management:** Handles the full join sequence including Map download and synchronization.
|
||||
- **Comprehensive Testing:** Robustly tested with unit, logic, and E2E tests (including 100% coverage for unit/logic tests).
|
||||
- **Vehicle Listing:** Query vehicle data via the Admin GameScript channel with `list_vehicles()`.
|
||||
|
||||
## 🛠 Setup
|
||||
|
||||
|
||||
Reference in New Issue
Block a user