Skip to content

Commit

Permalink
optimized GetModDownloadQueue
Browse files Browse the repository at this point in the history
  • Loading branch information
Turupawn committed Mar 16, 2020
1 parent 38c5852 commit 30bd5c4
Show file tree
Hide file tree
Showing 27 changed files with 52 additions and 0 deletions.
Binary file modified Source/ThirdParty/mod.io-sdk/bin/win64/modio.dll
Binary file not shown.
2 changes: 2 additions & 0 deletions Source/ThirdParty/mod.io-sdk/include/c/schemas/ModioAvatar.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioAvatar
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Avatar.h"

extern "C"
{
void modioInitAvatar(ModioAvatar* avatar, nlohmann::json avatar_json);
void modioInitAvatarCpp(ModioAvatar* modio_avatar, modio::Avatar* avatar);
void modioFreeAvatar(ModioAvatar* avatar);
}

Expand Down
2 changes: 2 additions & 0 deletions Source/ThirdParty/mod.io-sdk/include/c/schemas/ModioComment.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioComment
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Comment.h"

extern "C"
{
void modioInitComment(ModioComment* comment, nlohmann::json comment_json);
void modioInitCommentCpp(ModioComment* modio_comment, modio::Comment* Comment);
void modioFreeComment(ModioComment* comment);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioDependency
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Dependency.h"

extern "C"
{
void modioInitDependency(ModioDependency* dependency, nlohmann::json dependency_json);
void modioInitDependencyCpp(ModioDependency* modio_dependency, modio::Dependency* dependency);
void modioFreeDependency(ModioDependency* dependency);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioDownload
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Download.h"

extern "C"
{
void modioInitDownload(ModioDownload* download, nlohmann::json download_json);
void modioInitDownloadCpp(ModioDownload* modio_download, modio::Download* download);
void modioFreeDownload(ModioDownload* download);
}

Expand Down
2 changes: 2 additions & 0 deletions Source/ThirdParty/mod.io-sdk/include/c/schemas/ModioError.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioError
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Error.h"

extern "C"
{
void modioInitError(ModioError* error, nlohmann::json image_json);
void modioInitErrorCpp(ModioError* modio_error, modio::Error* error);
void modioFreeError(ModioError* error);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioFilehash
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Filehash.h"

extern "C"
{
void modioInitFilehash(ModioFilehash* filehash, nlohmann::json filehash_json);
void modioInitFilehashCpp(ModioFilehash* modio_filehash, modio::Filehash* filehash);
void modioFreeFilehash(ModioFilehash* filehash);
}

Expand Down
2 changes: 2 additions & 0 deletions Source/ThirdParty/mod.io-sdk/include/c/schemas/ModioGame.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioGame
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Game.h"

extern "C"
{
void modioInitGame(ModioGame* game, nlohmann::json game_json);
void modioInitGameCpp(ModioGame* modio_game, modio::Game* Game);
void modioFreeGame(ModioGame* game);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioGameTagOption
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/GameTagOption.h"

extern "C"
{
void modioInitGameTagOption(ModioGameTagOption* game_tag_option, nlohmann::json game_tag_option_json);
void modioInitGameTagOptionCpp(ModioGameTagOption* modio_game_tag_option, modio::GameTagOption* game_tag_option);
void modioFreeGameTagOption(ModioGameTagOption* game_tag_option);
}

Expand Down
2 changes: 2 additions & 0 deletions Source/ThirdParty/mod.io-sdk/include/c/schemas/ModioHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioHeader
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Header.h"

extern "C"
{
void modioInitHeader(ModioHeader* header, nlohmann::json header_json);
void modioInitHeaderCpp(ModioHeader* modio_header, modio::Header* Header);
void modioFreeHeader(ModioHeader* header);
}

Expand Down
2 changes: 2 additions & 0 deletions Source/ThirdParty/mod.io-sdk/include/c/schemas/ModioIcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioIcon
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Icon.h"

extern "C"
{
void modioInitIcon(ModioIcon* icon, nlohmann::json icon_json);
void modioInitIconCpp(ModioIcon* modio_icon, modio::Icon* icon);
void modioFreeIcon(ModioIcon* icon);
}

Expand Down
2 changes: 2 additions & 0 deletions Source/ThirdParty/mod.io-sdk/include/c/schemas/ModioImage.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioImage
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Image.h"

extern "C"
{
void modioInitImage(ModioImage* image, nlohmann::json image_json);
void modioInitImageCpp(ModioImage* modio_image, modio::Image* image);
void modioFreeImage(ModioImage* image);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioInstalledMod
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/InstalledMod.h"

extern "C"
{
void modioInitInstalledMod(ModioInstalledMod* installed_mod, nlohmann::json image_json);
void modioInitInstalledModCpp(ModioInstalledMod* modio_installed_mod, modio::InstalledMod* installed_mod);
}

#endif
2 changes: 2 additions & 0 deletions Source/ThirdParty/mod.io-sdk/include/c/schemas/ModioLogo.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioLogo
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Logo.h"

extern "C"
{
void modioInitLogo(ModioLogo* logo, nlohmann::json logo_json);
void modioInitLogoCpp(ModioLogo* modio_logo, modio::Logo* logo);
void modioFreeLogo(ModioLogo* logo);
}

Expand Down
2 changes: 2 additions & 0 deletions Source/ThirdParty/mod.io-sdk/include/c/schemas/ModioMedia.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioMedia
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Media.h"

extern "C"
{
void modioInitMedia(ModioMedia* media, nlohmann::json media_json);
void modioInitMediaCpp(ModioMedia* modio_media, modio::Media* media);
void modioFreeMedia(ModioMedia* media);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioMetadataKVP
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/MetadataKVP.h"

extern "C"
{
void modioInitMetadataKVP(ModioMetadataKVP* metadata_kvp, nlohmann::json metadata_kvp_json);
void modioInitMetadataKVPCpp(ModioMetadataKVP* modio_metadata_kvp, modio::MetadataKVP* metadata_kvp);
void modioFreeMetadataKVP(ModioMetadataKVP* metadata_kvp);
}

Expand Down
2 changes: 2 additions & 0 deletions Source/ThirdParty/mod.io-sdk/include/c/schemas/ModioMod.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioMod
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Mod.h" // for modioInitMod ...

extern "C"
{
void modioInitMod(ModioMod* mod, nlohmann::json mod_json);
void modioInitModCpp(ModioMod* mod, modio::Mod* mod_json);
void modioFreeMod(ModioMod* mod);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioModEvent
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/ModEvent.h"

extern "C"
{
void modioInitModEvent(ModioModEvent* event, nlohmann::json event_json);
void modioInitModEventCpp(ModioModEvent* modio_mod_event, modio::ModEvent* mod_event);
void modioFreeModEvent(ModioModEvent* event);
}

Expand Down
2 changes: 2 additions & 0 deletions Source/ThirdParty/mod.io-sdk/include/c/schemas/ModioModfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioModfile
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Modfile.h"

extern "C"
{
void modioInitModfile(ModioModfile* modfile, nlohmann::json modfile_json);
void modioInitModfileCpp(ModioModfile* modio_modfile, modio::Modfile* modfile);
void modioFreeModfile(ModioModfile* modfile);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioQueuedModDownload
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/QueuedModDownload.h" // for modioInitMod ...

extern "C"
{
void modioInitQueuedModDownload(ModioQueuedModDownload* queued_mod_download, nlohmann::json queued_mod_download_json);
void modioInitQueuedModDownloadCpp(ModioQueuedModDownload* modio_queued_mod_download, modio::QueuedModDownload* queued_mod_download);
}

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioQueuedModfileUpload
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/QueuedModfileUpload.h"

extern "C"
{
void modioInitQueuedModfileUpload(ModioQueuedModfileUpload* queued_modfile_upload, nlohmann::json queued_modfile_upload_json);
void modioFreeQueuedModfileUpload(ModioQueuedModfileUpload* queued_modfile_upload);
}

#endif
2 changes: 2 additions & 0 deletions Source/ThirdParty/mod.io-sdk/include/c/schemas/ModioRating.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioRating
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Rating.h"

extern "C"
{
void modioInitRating(ModioRating* rating, nlohmann::json rating_json);
void modioInitRatingCpp(ModioRating* modio_rating, modio::Rating* rating);
void modioFreeRating(ModioRating* rating);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioResponse
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Response.h"

extern "C"
{
void modioInitResponse(ModioResponse* response, nlohmann::json response_json);
void modioInitResponseCpp(ModioResponse* modio_response, modio::Response* response);
void modioFreeResponse(ModioResponse* response);
}

Expand Down
2 changes: 2 additions & 0 deletions Source/ThirdParty/mod.io-sdk/include/c/schemas/ModioStats.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioStats
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Stats.h"

extern "C"
{
void modioInitStats(ModioStats* stats, nlohmann::json stats_json);
void modioInitStatsCpp(ModioStats* modio_stats, modio::Stats* stats);
void modioFreeStats(ModioStats* stats);
}

Expand Down
2 changes: 2 additions & 0 deletions Source/ThirdParty/mod.io-sdk/include/c/schemas/ModioTag.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioTag
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/Tag.h"

extern "C"
{
void modioInitTag(ModioTag* tag, nlohmann::json tag_json);
void modioInitTagCpp(ModioTag* modio_tag, modio::Tag* tag);
void modioFreeTag(ModioTag* tag);
}

Expand Down
2 changes: 2 additions & 0 deletions Source/ThirdParty/mod.io-sdk/include/c/schemas/ModioUser.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioUser
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/User.h"

extern "C"
{
void modioInitUser(ModioUser* user, nlohmann::json user_json);
void modioInitUserCpp(ModioUser* modio_user, modio::User* user);
void modioFreeUser(ModioUser* user);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "../ModioC.h" // for ModioUserEvent
#include "dependencies/nlohmann/json.hpp" // for json
#include "c++/schemas/UserEvent.h"

extern "C"
{
void modioInitUserEvent(ModioUserEvent* event, nlohmann::json event_json);
void modioInitUserEventCpp(ModioUserEvent* modio_user_event, modio::UserEvent* user_event);
void modioFreeUserEvent(ModioUserEvent* event);
}

Expand Down

0 comments on commit 30bd5c4

Please sign in to comment.