SimTX API v24/Packets/ListStations
Appearance
| Packet ID | 4(0x04)
|
|---|---|
| Direction | Client → server |
| Session | Control |
| Body size | 0 bytes |
| Permission | None |
| Answered by | StationList |
ListStations asks for the list of stations currently on the server. The packet has no body. The server answers with StationList. On a moderation session, it is also followed by StationImpactList.
Layout[edit | edit source]
| Field | Type | Description |
|---|---|---|
packetId |
u8 |
Always 4.
|
Rate limiting[edit | edit source]
ListStations is a heavy request. Poll it every few seconds at most; the per-IP heavy budget is 4 per second, shared by all control connections from the address, and exceeding it closes the connection.