mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-05-12 23:45:02 +00:00
25 lines
633 B
C++
25 lines
633 B
C++
#pragma once
|
|
|
|
#include "Game/T5/T5.h"
|
|
#include "Loading/ContentLoaderBase.h"
|
|
#include "Loading/IContentLoadingEntryPoint.h"
|
|
|
|
namespace T5
|
|
{
|
|
class ContentLoader final : public ContentLoaderBase, public IContentLoadingEntryPoint
|
|
{
|
|
public:
|
|
explicit ContentLoader(Zone& zone, ZoneInputStream& stream);
|
|
void Load() override;
|
|
|
|
private:
|
|
void LoadScriptStringList(bool atStreamStart);
|
|
|
|
void LoadXAsset(bool atStreamStart) const;
|
|
void LoadXAssetArray(bool atStreamStart, size_t count);
|
|
|
|
XAsset* varXAsset;
|
|
ScriptStringList* varScriptStringList;
|
|
};
|
|
} // namespace T5
|