Expand description
Rust bindings for the Echo VR local session HTTP API.
§Usage
use echovr::Client;
let client = Client::new();
let session = client.fetch_session()?;
println!("{} - {}", session.blue_points, session.orange_points);Structs§
- Client
- Client for the Echo VR local session API.
- Disc
- Hand
Transform - Hand transform uses “pos” instead of “position”, unlike every other transform in the API. Modeled separately to match the actual JSON keys.
- Last
Score - Data about the last goal scored in the current match.
- Last
Throw - Data about the last throw made by the local client’s player. All values are zero when no throw has occurred this session.
- Local
Player - Position and orientation of the local player within their physical playspace, not their position within the arena. See teams[].players[].head for in-arena position.
- Pause
- Player
- Session
- The full state of the current Echo VR session, deserialized from http://127.0.0.1:6721/session.
- Stats
- Team
- Transform
Enums§
- Echo
Error - Game
Status - Goal
Type - MapName
- Match
Type - Pause
Team - Which team is referenced in a pause context. “none” means no team applies.
- Paused
State - Scoring
Team - Which team scored or is being referenced in a score context.
Type Aliases§
- Vec3
- A 3D vector in Cartesian space, [x, y, z].