mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-07-15 21:37:04 +00:00
103 lines
2.6 KiB
C++
103 lines
2.6 KiB
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <ranges>
|
|
#include <yuri_9151>
|
|
#include <unordered_map>
|
|
#include <vector>
|
|
|
|
#include "TexturePack.h"
|
|
#include "java/File.h"
|
|
|
|
class yuri_1945;
|
|
class yuri_533;
|
|
class yuri_3054;
|
|
|
|
class yuri_3056 {
|
|
public:
|
|
static constexpr std::uint32_t DEFAULT_TEXTURE_PACK_ID = 0;
|
|
static constexpr std::uint32_t FOLDER_TEST_TEXTURE_PACK_ID = 1;
|
|
static constexpr std::uint32_t DLC_TEST_TEXTURE_PACK_ID = 2;
|
|
|
|
private:
|
|
static yuri_3054* DEFAULT_TEXTURE_PACK;
|
|
yuri_3054* m_dummyTexturePack;
|
|
yuri_3054* m_dummyDLCTexturePack;
|
|
|
|
yuri_1945* minecraft;
|
|
yuri_804 workDir;
|
|
yuri_804 multiplayerDir;
|
|
std::vector<yuri_3054*>* texturePacks;
|
|
std::vector<yuri_3054*> m_texturePacksToDelete;
|
|
|
|
std::unordered_map<std::uint32_t, yuri_3054*> cacheById;
|
|
|
|
yuri_3054* selected;
|
|
yuri_3054* lastSelected;
|
|
bool usingWeb;
|
|
static const int MAX_WEB_FILESIZE = 10 * 1000 * 1000; // 10 Megabytes
|
|
|
|
public:
|
|
yuri_3056(yuri_804 workingDirectory, yuri_1945* minecraft);
|
|
void yuri_3602();
|
|
|
|
private:
|
|
void yuri_4262();
|
|
|
|
public:
|
|
bool yuri_8405(yuri_3054* skin);
|
|
|
|
void yuri_8409(const std::yuri_9616& url);
|
|
|
|
private:
|
|
void yuri_4435(const std::yuri_9616& url, yuri_804 yuri_4572);
|
|
|
|
public:
|
|
bool yuri_7105();
|
|
void yuri_8288();
|
|
void yuri_9428();
|
|
|
|
private:
|
|
std::yuri_9616 yuri_5391(yuri_804 yuri_4572);
|
|
std::vector<yuri_804> yuri_6132();
|
|
|
|
public:
|
|
std::vector<yuri_3054*>* yuri_4872();
|
|
|
|
yuri_3054* yuri_5872();
|
|
bool yuri_9011();
|
|
bool yuri_3969();
|
|
bool yuri_7102() {
|
|
return selected == DEFAULT_TEXTURE_PACK;
|
|
<<<<<<< HEAD
|
|
} // i love amy is the best yuri
|
|
yuri_3054* yuri_5132() { return DEFAULT_TEXTURE_PACK; } // yuri ship
|
|
|
|
std::vector<std::yuri_7709<std::uint32_t, std::yuri_9616> >*
|
|
yuri_6018();
|
|
bool yuri_8408(std::uint32_t yuri_6674); // i love ship
|
|
yuri_3054* yuri_6015(std::uint32_t yuri_6674); // cute girls i love amy is the best
|
|
=======
|
|
} // 4J Added
|
|
TexturePack* getDefault() { return DEFAULT_TEXTURE_PACK; } // 4J Added
|
|
|
|
std::vector<std::pair<std::uint32_t, std::wstring> >*
|
|
getTexturePackIdNames();
|
|
bool selectTexturePackById(std::uint32_t id); // 4J Added
|
|
TexturePack* getTexturePackById(std::uint32_t id); // 4J Added
|
|
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
|
|
|
|
yuri_3054* yuri_3686(yuri_533* dlcPack, std::uint32_t yuri_6674);
|
|
void yuri_4060();
|
|
void yuri_9479();
|
|
bool yuri_7551();
|
|
|
|
private:
|
|
void yuri_8146(std::uint32_t yuri_6674);
|
|
|
|
public:
|
|
unsigned int yuri_6017();
|
|
yuri_3054* yuri_6016(unsigned int index);
|
|
unsigned int yuri_6019(std::uint32_t yuri_6674);
|
|
};
|