A DLL that handles communicating to the BazaarRealmAPI for the Bazaar Realm Skyrim mod
Go to file
2020-10-12 20:19:48 -04:00
src Initial commit. Working get & post, needs cleanup 2020-10-12 20:19:48 -04:00
.gitignore Initial commit. Working get & post, needs cleanup 2020-10-12 20:19:48 -04:00
bindings.h Initial commit. Working get & post, needs cleanup 2020-10-12 20:19:48 -04:00
build.rs Initial commit. Working get & post, needs cleanup 2020-10-12 20:19:48 -04:00
Cargo.lock Initial commit. Working get & post, needs cleanup 2020-10-12 20:19:48 -04:00
Cargo.toml Initial commit. Working get & post, needs cleanup 2020-10-12 20:19:48 -04:00
cbindgen.toml Initial commit. Working get & post, needs cleanup 2020-10-12 20:19:48 -04:00
LICENSE Initial commit. Working get & post, needs cleanup 2020-10-12 20:19:48 -04:00
README.md Initial commit. Working get & post, needs cleanup 2020-10-12 20:19:48 -04:00

BazaarRealmClient

A Rust DLL that handles making requests to the BazaarRealmAPI web server for the BazaarRealmPlugin, part of the Bazaar Realm Skyrim mod.

This project is still a bit of a mess at the moment. But, essentially it uses reqwest to make requests to the API, deserializes the data with serde, and saves the responses to files in the Skyrim data directory to use as a local cache when the API server is unavailable.

cbindgen automatically generates the header file needed for the BazaarRealmPlugin (written in C++) to call into this DLL.