linter
This commit is contained in:
@@ -13,17 +13,17 @@ class AssetIntegrated : public Asset {
|
||||
const std::string& resource_pack_path = "resources.pack");
|
||||
|
||||
// Carga un archivo usando ResourceLoader como primera opción
|
||||
std::vector<uint8_t> loadFile(const std::string& filename);
|
||||
auto loadFile(const std::string& filename) -> std::vector<uint8_t>;
|
||||
|
||||
// Verifica si un archivo existe (pack o filesystem)
|
||||
bool fileExists(const std::string& filename) const;
|
||||
auto fileExists(const std::string& filename) const -> bool;
|
||||
|
||||
// Obtiene la ruta completa para archivos del sistema/config
|
||||
std::string getSystemPath(const std::string& filename) const;
|
||||
auto getSystemPath(const std::string& filename) const -> std::string;
|
||||
|
||||
private:
|
||||
static bool resource_pack_enabled_;
|
||||
static bool resource_pack_enabled;
|
||||
|
||||
// Determina si un archivo debe cargarse del pack o del filesystem
|
||||
bool shouldUseResourcePack(const std::string& filepath) const;
|
||||
auto shouldUseResourcePack(const std::string& filepath) const -> bool;
|
||||
};
|
||||
Reference in New Issue
Block a user