2025-06-23 11:42:47 -07:00

24 lines
480 B
C#

using AssetRipper.IO.Endian;
namespace AssetRipper.IO.Files.BundleFiles;
public abstract record class Node : IEndianWritable
{
public override string ToString() => PathFixed;
public abstract void Write(EndianWriter writer);
public string PathFixed { get; private set; } = "";
public string Path
{
get;
set
{
field = value;
PathFixed = SpecialFileNames.FixFileIdentifier(value);
}
} = "";
public long Offset { get; set; }
public long Size { get; set; }
}