chore: add error handling for fastfile bind

This commit is contained in:
Jan Laupetin
2025-10-11 19:04:47 +01:00
parent 2037cf3258
commit 098be53559
4 changed files with 36 additions and 14 deletions
+2 -1
View File
@@ -2,12 +2,13 @@
#include "Zone/Zone.h"
#include <memory>
#include <optional>
#include <vector>
class FastFileContext
{
public:
bool LoadFastFile(const std::string& path);
std::optional<Zone*> LoadFastFile(const std::string& path);
std::vector<std::unique_ptr<Zone>> m_loaded_zones;
};