iw4x-client/src/Components/Modules/AssetInterfaces/IMaterial.hpp

18 lines
859 B
C++
Raw Normal View History

2017-01-20 08:36:52 -05:00
#pragma once
2016-01-22 05:59:43 -05:00
namespace Assets
{
class IMaterial : public Components::AssetHandler::IAsset
{
2016-01-26 10:12:41 -05:00
public:
virtual Game::XAssetType getType() override { return Game::XAssetType::ASSET_TYPE_MATERIAL; };
2016-01-22 05:59:43 -05:00
virtual void save(Game::XAssetHeader header, Components::ZoneBuilder::Zone* builder) override;
virtual void mark(Game::XAssetHeader header, Components::ZoneBuilder::Zone* builder) override;
2018-12-17 08:29:18 -05:00
virtual void load(Game::XAssetHeader* header, const std::string& name, Components::ZoneBuilder::Zone* builder) override;
void loadJson(Game::XAssetHeader* header, const std::string& name, Components::ZoneBuilder::Zone* builder);
void loadNative(Game::XAssetHeader* header, const std::string& name, Components::ZoneBuilder::Zone* builder);
void loadBinary(Game::XAssetHeader* header, const std::string& name, Components::ZoneBuilder::Zone* builder);
2016-01-22 05:59:43 -05:00
};
2016-06-28 06:46:28 -04:00
}