f409b881e2
Co-authored-by: Louvenarde <louve@louve.systems> Co-authored-by: Roxanne <roxanne@thegamebakers.com> Co-authored-by: FutureRave <edoardo.sanguineti222@gmail.com>
17 lines
718 B
C++
17 lines
718 B
C++
#pragma once
|
|
|
|
namespace Assets
|
|
{
|
|
class IMaterial : public Components::AssetHandler::IAsset
|
|
{
|
|
public:
|
|
Game::XAssetType getType() override { return Game::XAssetType::ASSET_TYPE_MATERIAL; }
|
|
|
|
void save(Game::XAssetHeader header, Components::ZoneBuilder::Zone* builder) override;
|
|
void mark(Game::XAssetHeader header, Components::ZoneBuilder::Zone* builder) override;
|
|
void load(Game::XAssetHeader* header, const std::string& name, Components::ZoneBuilder::Zone* builder) override;
|
|
void loadFromDisk(Game::XAssetHeader* header, const std::string& name, Components::ZoneBuilder::Zone* builder);
|
|
void loadNative(Game::XAssetHeader* header, const std::string& name, Components::ZoneBuilder::Zone* builder);
|
|
};
|
|
}
|