mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-08 22:08:29 -05:00
18 lines
361 B
C++
18 lines
361 B
C++
#include "AssetDumperSlug.h"
|
|
|
|
using namespace T6;
|
|
|
|
bool AssetDumperSlug::ShouldDump(Slug* asset)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
std::string AssetDumperSlug::GetFileNameForAsset(Zone* zone, Slug* asset)
|
|
{
|
|
return std::string(asset->name);
|
|
}
|
|
|
|
void AssetDumperSlug::DumpAsset(Zone* zone, Slug* asset, FileAPI::File* out)
|
|
{
|
|
out->Write(asset->buffer, 1, asset->len);
|
|
} |