iw4x-client/src/Components/Modules/AssetInterfaces/IMenuList.hpp
TheApadayo 4dc912af3e [Menus] Start working on loading custom menus
Currently doesn't work to override menus so I'm going to have to rewrite some stuff
2019-01-16 23:52:42 -05:00

15 lines
531 B
C++

#pragma once
namespace Assets
{
class IMenuList : public Components::AssetHandler::IAsset
{
public:
virtual Game::XAssetType getType() override { return Game::XAssetType::ASSET_TYPE_MENULIST; };
virtual void save(Game::XAssetHeader header, Components::ZoneBuilder::Zone* builder) override;
virtual void mark(Game::XAssetHeader header, Components::ZoneBuilder::Zone* builder) override;
virtual void load(Game::XAssetHeader* header, const std::string& name, Components::ZoneBuilder::Zone* builder) override;
};
}