A DLL that handles communicating to the BazaarRealmAPI for the Bazaar Realm Skyrim mod
Go to file
Tyler Hallada 2052f2cac9 Return merchandise list in create_merchandise
This allows an optimization, removing an extra get_merchandise query.
2021-01-23 20:16:26 -05:00
src Return merchandise list in create_merchandise 2021-01-23 20:16:26 -05:00
.gitignore Initial commit. Working get & post, needs cleanup 2020-10-12 20:19:48 -04:00
bindings.h Return merchandise list in create_merchandise 2021-01-23 20:16:26 -05:00
build.rs Initial commit. Working get & post, needs cleanup 2020-10-12 20:19:48 -04:00
Cargo.lock Switch all endpoints to send and receive bincode 2020-11-14 02:22:50 -05:00
Cargo.toml Switch all endpoints to send and receive bincode 2020-11-14 02:22:50 -05:00
cbindgen.toml Add shelves to interior_ref_lists 2020-11-21 01:33:44 -05:00
LICENSE Initial commit. Working get & post, needs cleanup 2020-10-12 20:19:48 -04:00
README.md Major refactor and clean up 2020-10-18 20:51:37 -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.

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.

Related projects:

  • BazaarRealmAPI: API server for the mod that stores all shop data and what this client talks to
  • BazaarRealmPlugin: SKSE plugin for the mod that modifies data within the Skyrim game engine and calls the methods in this client
  • BazaarRealmMod: Papyrus scripts, ESP plugin, and all other resources for the mod