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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user