mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-08-15 00:19:20 +00:00
26 lines
522 B
C++
26 lines
522 B
C++
#ifndef CMAPAREA_H
|
|
#define CMAPAREA_H
|
|
|
|
#include "CResource.h"
|
|
|
|
// Barebones class
|
|
class CMapArea : public CResource
|
|
{
|
|
friend class CUnsupportedFormatLoader;
|
|
CAssetID mNameString;
|
|
|
|
public:
|
|
explicit CMapArea(CResourceEntry *pEntry = nullptr)
|
|
: CResource(pEntry)
|
|
{}
|
|
|
|
std::unique_ptr<CDependencyTree> BuildDependencyTree() const override
|
|
{
|
|
auto pTree = std::make_unique<CDependencyTree>();
|
|
pTree->AddDependency(mNameString);
|
|
return pTree;
|
|
}
|
|
};
|
|
|
|
#endif // CMAPAREA_H
|