mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-05 16:07:43 +00:00
27 lines
797 B
C++
27 lines
797 B
C++
#pragma once
|
|
#include "Loading/ContentLoaderBase.h"
|
|
#include "Loading/IContentLoadingEntryPoint.h"
|
|
#include "Game/T6/T6.h"
|
|
#include "Loading/IZoneScriptStringProvider.h"
|
|
|
|
namespace T6
|
|
{
|
|
class ContentLoader final : public ContentLoaderBase, public IContentLoadingEntryPoint, public IZoneScriptStringProvider
|
|
{
|
|
std::vector<std::string> m_script_strings;
|
|
XAsset* varXAsset;
|
|
ScriptStringList* varScriptStringList;
|
|
|
|
void LoadScriptStringList(bool atStreamStart);
|
|
|
|
void LoadXAsset(bool atStreamStart);
|
|
void LoadXAssetArray(bool atStreamStart, size_t count);
|
|
|
|
public:
|
|
ContentLoader();
|
|
|
|
void Load(Zone* zone, IZoneInputStream* stream) override;
|
|
std::string& GetZoneScriptString(scr_string_t scrString) override;
|
|
};
|
|
}
|