aboutsummaryrefslogtreecommitdiff
path: root/src/core/user_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/user_state.h')
-rw-r--r--src/core/user_state.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/core/user_state.h b/src/core/user_state.h
new file mode 100644
index 0000000..c8020d8
--- /dev/null
+++ b/src/core/user_state.h
@@ -0,0 +1,19 @@
+#ifndef HIVE_MIND_CORE_USER_STATE_H_
+#define HIVE_MIND_CORE_USER_STATE_H_
+
+#include <chrono>
+#include <queue>
+#include <set>
+
+#include "util/common.h"
+
+struct UserState {
+ bool is_creator = false;
+ Arc<User> user;
+ std::string error_msg;
+ std::queue<Arc<CardPack>> card_pack_queue;
+ std::vector<Arc<Card>> selected_card;
+ std::chrono::time_point<std::chrono::system_clock> time_last_updated;
+};
+
+#endif