mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
Use optional instead of Json for queries
This commit is contained in:
@ -126,7 +126,7 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
void genericQuery(Query * request, PlayerColor color, std::function<void(const JsonNode &)> callback) override
|
||||
void genericQuery(Query * request, PlayerColor color, std::function<void(std::optional<int32_t>)> callback) override
|
||||
{
|
||||
//todo:
|
||||
}
|
||||
|
Reference in New Issue
Block a user