mcpelauncher-1.1/mcpe/FilePickerSettings.h
2026-01-19 20:18:08 +02:00

24 lines
489 B
C++

#pragma once
#include "string.h"
#include <vector>
#include <functional>
struct FilePickerSettings {
enum class PickerType {
NONE, OPEN, SAVE
};
struct FileDescription {
mcpe::string ext, desc;
};
char filler [0x20];
std::function<void (FilePickerSettings&, mcpe::string)> pickedCallback;
std::vector<FileDescription> fileDescriptions;
int filler3;
PickerType type;
mcpe::string defaultFileName;
mcpe::string pickerTitle;
};