docs.rs failed to build warcraft3-stats-observer-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
warcraft3-stats-observer-0.2.0
War3StatsObserver
Rust bindings for the Warcraft 3 Stats Observer API memory map. Great for a streaming or build order overlay.
Top level binding to access everything is ObserverData struct.
let od = match new ;
A refresh rate of 0 (measured in milliseconds) disables the API.
Default rate is 500ms when using new(), but you can change it.
The structs are packed due to how the memory map is laid out.
This makes it a pain to work with certain fields of the structs at times because rust does not allow a reference to an unaligned field.
To get around this, you can make a copy in place by wrapping a field in {}
println!;
See the examples folder for more.