mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Fixes and cleanup of game client network shutdown and restart
This commit is contained in:
@@ -111,17 +111,12 @@ struct DLL_LINKAGE LobbyLoadProgress : public CLobbyPackToPropagate
|
||||
}
|
||||
};
|
||||
|
||||
struct DLL_LINKAGE LobbyEndGame : public CLobbyPackToPropagate
|
||||
struct DLL_LINKAGE LobbyRestartGame : public CLobbyPackToPropagate
|
||||
{
|
||||
bool closeConnection = false;
|
||||
bool restart = false;
|
||||
|
||||
void visitTyped(ICPackVisitor & visitor) override;
|
||||
|
||||
template <typename Handler> void serialize(Handler &h)
|
||||
{
|
||||
h & closeConnection;
|
||||
h & restart;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user