mcpelauncher-1.1/mcpe/FilePickerSettings.h
2026-01-16 23:23:28 +02:00

24 lines
525 B
C++

#pragma once
#include <string>
#include <vector>
#include <functional>
struct FilePickerSettings {
enum class PickerType {
NONE, OPEN, SAVE
};
struct FileDescription {
std::string ext, desc;
};
char filler [0x20]; // 20
std::function<void (FilePickerSettings&, std::string)> pickedCallback; // 30
std::vector<FileDescription> fileDescriptions; // 3c
int filler3; // 40
PickerType type; // 44
std::string defaultFileName; // 48
std::string pickerTitle; // 52
};