mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-15 09:17:57 -05:00
ZoneLoading: Make AssetDumpers get the zone via their args
This commit is contained in:
@ -2,12 +2,12 @@
|
||||
|
||||
using namespace T6;
|
||||
|
||||
std::string AssetDumperStringTable::GetFileNameForAsset(StringTable* asset)
|
||||
std::string AssetDumperStringTable::GetFileNameForAsset(Zone* zone, StringTable* asset)
|
||||
{
|
||||
return std::string(asset->name);
|
||||
}
|
||||
|
||||
void AssetDumperStringTable::DumpAsset(StringTable* asset, FileAPI::File* out)
|
||||
void AssetDumperStringTable::DumpAsset(Zone* zone, StringTable* asset, FileAPI::File* out)
|
||||
{
|
||||
char separator[]{ ',' };
|
||||
char newLine[]{ '\n' };
|
||||
|
Reference in New Issue
Block a user