summaryrefslogtreecommitdiff
path: root/battleNetApi/include/tokenPool.hpp
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-04-28 03:49:41 +0200
committerAotrix <[email protected]>2026-04-28 03:49:41 +0200
commita0632d299b85dc4ef7c0e03898f38e6deca0edc2 (patch)
treecc83712ca644e8b5d1b9e1c0c49bdbdd8475d0a9 /battleNetApi/include/tokenPool.hpp
parent5582e994d39b16a6d61f05b13e78c30f4bac5d84 (diff)
add HearthstoneTokenBuilder class
Diffstat (limited to 'battleNetApi/include/tokenPool.hpp')
-rw-r--r--battleNetApi/include/tokenPool.hpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/battleNetApi/include/tokenPool.hpp b/battleNetApi/include/tokenPool.hpp
deleted file mode 100644
index 0b1e4cc..0000000
--- a/battleNetApi/include/tokenPool.hpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#pragma once
-
-#include <queue>
-#include <token.hpp>
-
-static std::queue<Token> aTokenContainer;
-
-class TokenPool {
- private:
- TokenPool() = delete;
- TokenPool(const TokenPool &) = delete;
- TokenPool(TokenPool &&) = delete;
- TokenPool &operator=(const TokenPool &) = delete;
- TokenPool &operator=(TokenPool &&) = delete;
-
- public:
- static void feedTokenSource(const std::span<std::string> &iJsonPaths);
- static void feedTokenSource(const std::string &iJsonPath);
- static std::optional<Token> availableToken();
-};