1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

scrolling works

This commit is contained in:
Laserlicht
2024-05-01 00:49:33 +02:00
parent 7c96ffa8ff
commit e505aab29a
4 changed files with 83 additions and 26 deletions

View File

@@ -348,6 +348,7 @@ struct DLL_LINKAGE LobbyPvPAction : public CLobbyPackToServer
enum EAction : ui8 {
NONE, COIN, RANDOM_TOWN, RANDOM_TOWN_VS
} action = NONE;
std::vector<FactionID> bannedTowns;
void visitTyped(ICPackVisitor & visitor) override;
@@ -355,6 +356,7 @@ struct DLL_LINKAGE LobbyPvPAction : public CLobbyPackToServer
template <typename Handler> void serialize(Handler &h)
{
h & action;
h & bannedTowns;
}
};