aboutsummaryrefslogtreecommitdiff
path: root/src/server/server.hh
blob: bd2d5fd959847103b9e41b0eb12af6d978a42c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef SERVER_SERVER_HH_
#define SERVER_SERVER_HH_

#include <algorithm>
#include <atomic>
#include <chrono>
#include <csignal>
#include <deque>
#include <iostream>
#include <memory>
#include <queue>
#include <ranges>
#include <string>
#include <string_view>
#include <thread>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>

#include "server/client.hh"
#include "server/database.hh"
#include "server/movement.hh"
#include "server/resources.hh"
#include "server/world.hh"
#include "shared/net/net.hh"
#include "shared/net/proto.hh"
#include "shared/player.hh"
#include "shared/shared.hh"

namespace server {
inline std::atomic<bool> has_initialised;

void main(const std::string_view address, const std::string_view port);
} // namespace server

#endif