mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-05-14 00:15:00 +00:00
24 lines
593 B
C++
24 lines
593 B
C++
#pragma once
|
|
#include "Loading/ContentLoaderBase.h"
|
|
#include "Loading/IContentLoadingEntryPoint.h"
|
|
#include "Game/IW4/IW4.h"
|
|
|
|
namespace IW4
|
|
{
|
|
class ContentLoader final : public ContentLoaderBase, public IContentLoadingEntryPoint
|
|
{
|
|
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;
|
|
};
|
|
}
|