A DLL that handles communicating to the BazaarRealmAPI for the Bazaar Realm Skyrim mod
Tyler Hallada
a5e3b402fa
Also better interface, just use RawTransaction as a param. Rust is complaining that this isn't FFI safe though, so I need to figure out why. |
||
---|---|---|
src | ||
.gitignore | ||
bindings.h | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
cbindgen.toml | ||
LICENSE | ||
README.md |
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 toBazaarRealmPlugin
: SKSE plugin for the mod that modifies data within the Skyrim game engine and calls the methods in this clientBazaarRealmMod
: Papyrus scripts, ESP plugin, and all other resources for the mod