mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Implemented join room dialog
This commit is contained in:
@@ -14,18 +14,17 @@ VCMI_LIB_NAMESPACE_BEGIN
|
||||
class DLL_LINKAGE ModIncompatibility: public std::exception
|
||||
{
|
||||
public:
|
||||
using ModListWithVersion = std::vector<std::pair<const std::string, const std::string>>;
|
||||
using ModList = std::vector<std::string>;
|
||||
|
||||
ModIncompatibility(const ModListWithVersion & _missingMods)
|
||||
ModIncompatibility(const ModList & _missingMods)
|
||||
{
|
||||
std::ostringstream _ss;
|
||||
for(const auto & m : _missingMods)
|
||||
_ss << m.first << ' ' << m.second << std::endl;
|
||||
_ss << m << std::endl;
|
||||
messageMissingMods = _ss.str();
|
||||
}
|
||||
|
||||
ModIncompatibility(const ModListWithVersion & _missingMods, ModList & _excessiveMods)
|
||||
ModIncompatibility(const ModList & _missingMods, ModList & _excessiveMods)
|
||||
: ModIncompatibility(_missingMods)
|
||||
{
|
||||
std::ostringstream _ss;
|
||||
|
||||
Reference in New Issue
Block a user