blob: d40827e7711f80c420c8791a7a9f9119bab5b65e (
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/movement.hh"
#include "server/resources.hh"
#include "server/world/chunk.hh"
#include "shared/entity/player.hh"
#include "shared/net/net.hh"
#include "shared/net/proto.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
|