mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-27 07:07:52 -05:00
Make AbstractAssetDumper use the XAssetInfo instead of the raw asset pointer to be able to access dependencies and scriptstrings
This commit is contained in:
@ -5,11 +5,11 @@
|
||||
|
||||
namespace T6
|
||||
{
|
||||
class AssetDumperSlug final : public AbstractAssetDumper<T6::Slug>
|
||||
class AssetDumperSlug final : public AbstractAssetDumper<Slug>
|
||||
{
|
||||
protected:
|
||||
bool ShouldDump(T6::Slug* asset) override;
|
||||
std::string GetFileNameForAsset(Zone* zone, T6::Slug* asset) override;
|
||||
void DumpAsset(Zone* zone, T6::Slug* asset, FileAPI::File* out) override;
|
||||
bool ShouldDump(XAssetInfo<Slug>* asset) override;
|
||||
std::string GetFileNameForAsset(Zone* zone, XAssetInfo<Slug>* asset) override;
|
||||
void DumpAsset(Zone* zone, XAssetInfo<Slug>* asset, FileAPI::File* out) override;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user