mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-01 09:07:55 -05:00
Rename ZoneLoader and ZoneWriter components to ZoneLoading and ZoneWriting to make a difference between the executive class and the component class
This commit is contained in:
21
src/ZoneLoading/Game/T6/ContentLoaderT6.h
Normal file
21
src/ZoneLoading/Game/T6/ContentLoaderT6.h
Normal file
@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
#include "Loading/ContentLoader.h"
|
||||
#include "Loading/IContentLoadingEntryPoint.h"
|
||||
#include "Game/T6/T6.h"
|
||||
#include "Loading/IZoneScriptStringProvider.h"
|
||||
|
||||
class ContentLoaderT6 final : public ContentLoader, public IContentLoadingEntryPoint, public IZoneScriptStringProvider
|
||||
{
|
||||
std::vector<std::string> m_script_strings;
|
||||
|
||||
void LoadScriptStringList(T6::ScriptStringList* scriptStringList);
|
||||
|
||||
void LoadXAsset(T6::XAsset* pXAsset, bool atStreamStart);
|
||||
void LoadXAssetArray(T6::XAsset* pArray, size_t count, bool atStreamStart);
|
||||
|
||||
public:
|
||||
ContentLoaderT6();
|
||||
|
||||
void Load(Zone* zone, IZoneInputStream* stream) override;
|
||||
std::string& GetZoneScriptString(scr_string_t scrString) override;
|
||||
};
|
Reference in New Issue
Block a user