diff options
| author | Aotrix <[email protected]> | 2025-11-17 13:30:23 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2025-11-17 13:30:23 +0100 |
| commit | 9dab564d3aaabda88efda5e3289392d0be716084 (patch) | |
| tree | 4d2d0188119ba33f29c0dc6c362c26a47a9e637d /submodules/battleNetApi/include/apiUrl.hpp | |
| parent | f78e3e1428f59fb96cb02cf6fbaad692a582f9d5 (diff) | |
changed subprojects to submodules
Diffstat (limited to 'submodules/battleNetApi/include/apiUrl.hpp')
| -rw-r--r-- | submodules/battleNetApi/include/apiUrl.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/submodules/battleNetApi/include/apiUrl.hpp b/submodules/battleNetApi/include/apiUrl.hpp new file mode 100644 index 0000000..509b248 --- /dev/null +++ b/submodules/battleNetApi/include/apiUrl.hpp @@ -0,0 +1,19 @@ +#pragma once +#include <string> +#include <unordered_map> + +class ApiUrl { + public: + ApiUrl(const std::string &iContentType, const std::string &iRegion); + + void setRegion(const std::string &iRegion); + void setLocale(const std::string &iLocale); + void setGameMode(const std::string &iGameMode); + void setPageSize(const std::string &iPageSize); + std::string operator()() const; + + private: + std::string mContentType; + std::string mRegion; + std::unordered_map<std::string, std::string> aParameters; +}; |
