mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-02 15:07:26 +00: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 AssetDumperStringTable final : public AbstractAssetDumper<T6::StringTable>
|
||||
class AssetDumperStringTable final : public AbstractAssetDumper<StringTable>
|
||||
{
|
||||
protected:
|
||||
bool ShouldDump(T6::StringTable* asset) override;
|
||||
std::string GetFileNameForAsset(Zone* zone, T6::StringTable* asset) override;
|
||||
void DumpAsset(Zone* zone, T6::StringTable* asset, FileAPI::File* out) override;
|
||||
bool ShouldDump(XAssetInfo<StringTable>* asset) override;
|
||||
std::string GetFileNameForAsset(Zone* zone, XAssetInfo<StringTable>* asset) override;
|
||||
void DumpAsset(Zone* zone, XAssetInfo<StringTable>* asset, FileAPI::File* out) override;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user