Recovered/ holds the code linked only into the standalone exe (scripts/exe/build_exe.py), outside the Clank source dirs: - jsoncons/ and nProtect/ moved from scripts/exe/; GameGuard stand-in follows main's renamed entry points. - GPak/PakAuxiliary.cpp: Extract (virtualised in every build; 02-19 jumps out at 0x0065861E) rebuilt from the open GRF Editor decoder, after the visible 02-19 prologue; inline key and kRO keys 1-4. Apply traps (unreachable in 02-19). - GGHash/GGHash.cpp: CGGHash::Load/Check/VerifyHash trap (RagHash.dat check unreachable in 02-19). The whole client links: 984 units, 0 unresolved.
35 lines
861 B
C++
35 lines
861 B
C++
// Copyright 2013-2023 Daniel Parker
|
|
// Distributed under the Boost license, Version 1.0.
|
|
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
// See https://github.com/danielaparker/jsoncons for latest version
|
|
|
|
#ifndef JSONCONS_JSONSCHEMA_SCHEMA_VERSION_HPP
|
|
#define JSONCONS_JSONSCHEMA_SCHEMA_VERSION_HPP
|
|
|
|
#include <jsoncons/json.hpp>
|
|
|
|
namespace jsoncons {
|
|
namespace jsonschema {
|
|
|
|
class schema_version
|
|
{
|
|
public:
|
|
static bool contains(const string_view& url)
|
|
{
|
|
if (url.find("json-schema.org/draft-07/schema#") != string_view::npos)
|
|
{
|
|
return true;
|
|
}
|
|
else
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
};
|
|
|
|
|
|
} // namespace jsonschema
|
|
} // namespace jsoncons
|
|
|
|
#endif // JSONCONS_JSONSCHEMA_SCHEMA_VERSION_HPP
|