#include "GUI_RepositorySelector.h"
#include "Application.h"
#include "GameContext.h"
#include "AppContext.h"
#include "Console.h"
#include "ContentManager.h"
#include "GUIManager.h"
#include "GUIUtils.h"
#include "Language.h"
#include "PlatformUtils.h"
#include "RoRVersion.h"
#include <imgui.h>
#include <imgui_internal.h>
#include <rapidjson/document.h>
#include <vector>
#include <fmt/core.h>
#include <stdio.h>
#include <OgreFileSystemLayer.h>
#include <curl/curl.h>
#include <curl/easy.h>
Go to the source code of this file.
|
static size_t | CurlWriteFunc (void *ptr, size_t size, size_t nmemb, std::string *data) |
|
static size_t | CurlProgressFunc (void *ptr, double filesize_B, double downloaded_B) |
|
static size_t | CurlOgreDataStreamWriteFunc (char *data_ptr, size_t _unused, size_t data_length, void *userdata) |
|
std::vector< GUI::ResourceCategories > | GetResourceCategories (std::string portal_url) |
|
void | GetResources (std::string portal_url) |
|
void | GetResourceFiles (std::string portal_url, int resource_id) |
|
void | DownloadResourceFile (int resource_id, std::string filename, int id) |
|
- Author
- Rafael Galvan, 04/2021
-
Petr Ohlidal, 2022
-
tritonas00, 2022
Definition in file GUI_RepositorySelector.cpp.
◆ CurlOgreDataStreamWriteFunc()
static size_t CurlOgreDataStreamWriteFunc |
( |
char * |
data_ptr, |
|
|
size_t |
_unused, |
|
|
size_t |
data_length, |
|
|
void * |
userdata |
|
) |
| |
|
static |
◆ CurlProgressFunc()
static size_t CurlProgressFunc |
( |
void * |
ptr, |
|
|
double |
filesize_B, |
|
|
double |
downloaded_B |
|
) |
| |
|
static |
◆ CurlWriteFunc()
static size_t CurlWriteFunc |
( |
void * |
ptr, |
|
|
size_t |
size, |
|
|
size_t |
nmemb, |
|
|
std::string * |
data |
|
) |
| |
|
static |
◆ DownloadResourceFile()
void DownloadResourceFile |
( |
int |
resource_id, |
|
|
std::string |
filename, |
|
|
int |
id |
|
) |
| |
◆ GetResourceCategories()
◆ GetResourceFiles()
void GetResourceFiles |
( |
std::string |
portal_url, |
|
|
int |
resource_id |
|
) |
| |
◆ GetResources()
void GetResources |
( |
std::string |
portal_url | ) |
|