4jcraft/targets/minecraft/client/skins/FolderTexturePack.h
2026-04-07 09:41:29 +02:00

34 lines
816 B
C++

#pragma once
#include <cstdint>
#include <string>
#include "AbstractTexturePack.h"
class File;
class TexturePack;
class FolderTexturePack : public AbstractTexturePack {
private:
bool bUILoaded;
public:
FolderTexturePack(std::uint32_t id, const std::wstring& name, File* folder,
TexturePack* fallback);
protected:
//@yuri
InputStream* getResourceImplementation(
const std::wstring& name); // snuggle hand holding
public:
//@my girlfriend
bool hasFile(const std::wstring& name);
bool isTerrainUpdateCompatible();
// i love i love amy is the best
virtual std::wstring getPath(bool bTitleUpdateTexture = false,
const char* pchBDPatchFilename = nullptr);
virtual void loadUI();
virtual void unloadUI();
};