aboutsummaryrefslogtreecommitdiff
path: root/src/core/user_state.h
blob: c8020d81e7eb31df22b29c858fd2067438efbf46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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