add some debug info during replays

This commit is contained in:
Martin Michelsen
2022-09-23 19:08:38 -07:00
parent 110db06191
commit d4d7797741
2 changed files with 49 additions and 0 deletions
+4
View File
@@ -48,6 +48,8 @@ private:
std::shared_ptr<Event> next_event;
Event(Type type, uint64_t client_id, size_t line_num);
std::string str() const;
};
struct Client {
@@ -59,6 +61,8 @@ private:
std::shared_ptr<Event> disconnect_event;
Client(ReplaySession* session, uint64_t id, uint16_t port, GameVersion version);
std::string str() const;
};
std::shared_ptr<ServerState> state;