aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared.hh
blob: 608e25e3e6411f7ed4db650c7c55b793d33d5ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef SERVER_SHARED_HH_
#define SERVER_SHARED_HH_

#include <cstdint>
#include <string>

namespace server {

struct state {
    int draw_distance = 32;
    std::uint64_t seed = 123456789;
    std::string directory = "world/";
    std::uint32_t tickrate = 20;
};
inline state state;

} // namespace server

#endif