1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

show statistics ingame

This commit is contained in:
Laserlicht
2025-11-22 13:14:50 +01:00
parent f3fd5c05af
commit afb045ef14
26 changed files with 119 additions and 0 deletions

View File

@@ -1523,4 +1523,18 @@ struct DLL_LINKAGE CenterView : public CPackForClient
}
};
struct DLL_LINKAGE ResponseStatistic : public CPackForClient
{
PlayerColor player;
StatisticDataSet statistic;
void visitTyped(ICPackVisitor & visitor) override;
template <typename Handler> void serialize(Handler & h)
{
h & player;
h & statistic;
}
};
VCMI_LIB_NAMESPACE_END