#ifndef TRACKER_CONFIG_H_36CDD648 #define TRACKER_CONFIG_H_36CDD648 #include #include #include struct ConnectionDetails { std::string ap_server; std::string ap_player; std::string ap_password; bool operator!=(const ConnectionDetails& rhs) const { return std::tie(ap_server, ap_player, ap_password) != std::tie(rhs.ap_server, rhs.ap_player, rhs.ap_password); } }; class TrackerConfig { public: explicit TrackerConfig(const std::string& filename) : filename_(filename) {} void Load(); void Save(); ConnectionDetails connection_details; bool asked_to_check_for_updates = false; bool should_check_for_updates = false; bool hybrid_areas = false; bool show_hunt_panels = false; std::deque connection_history; private: std::string filename_; }; TrackerConfig& GetTrackerConfig(); #endif /* end of include guard: TRACKER_CONFIG_H_36CDD648 */ is commit Randomizer client for LINGO using Archipelago Multiworld
about summary refs log tree commit diff stats
blob: 06bebd17882a2a1ec2f959dc055ec665c2235eff (plain) (blame)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57