mirror of
				https://github.com/Laupetin/OpenAssetTools.git
				synced 2025-10-30 18:17:15 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			599 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			599 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| #include "Loading/ContentLoaderBase.h"
 | |
| #include "Loading/IContentLoadingEntryPoint.h"
 | |
| #include "Game/IW3/IW3.h"
 | |
| 
 | |
| namespace IW3
 | |
| {
 | |
|     class ContentLoader final : public ContentLoaderBase, public IContentLoadingEntryPoint
 | |
|     {
 | |
|         XAsset* varXAsset;
 | |
|         ScriptStringList* varScriptStringList;
 | |
| 
 | |
|         void LoadScriptStringList(bool atStreamStart);
 | |
| 
 | |
|         void LoadXAsset(bool atStreamStart) const;
 | |
|         void LoadXAssetArray(bool atStreamStart, size_t count);
 | |
| 
 | |
|     public:
 | |
|         ContentLoader();
 | |
| 
 | |
|         void Load(Zone* zone, IZoneInputStream* stream) override;
 | |
|     };
 | |
| }
 |