h2-mod/src/client/component/fastfiles.hpp

14 lines
383 B
C++
Raw Normal View History

2021-04-29 23:47:05 +02:00
#pragma once
#include "game/game.hpp"
2023-03-03 10:14:50 +01:00
#include <utils/memory.hpp>
2021-04-29 23:47:05 +02:00
namespace fastfiles
{
2022-01-02 23:51:38 +01:00
void enum_assets(const game::XAssetType type, const std::function<void(game::XAssetHeader)>& callback, const bool includeOverride);
2021-04-29 23:47:05 +02:00
std::string get_current_fastfile();
2022-08-22 01:42:13 +02:00
bool exists(const std::string& zone);
2023-03-03 10:14:50 +01:00
bool try_load_zone(const std::string& name, bool localized, bool game = false);
2021-04-29 23:47:05 +02:00
}