botw-toolset/IO/SARC/SFATNode.cs
Chev a1a83285f8 Migrate from .NET Framework 4.8 to .NET 5
Also compress Resources/Icons image files, and remove unused entry in App.xaml
2021-01-18 23:33:46 -08:00

28 lines
1.1 KiB
C#

namespace BOTWToolset.IO.SARC
{
/// <summary>
/// Contains information on stored archive files in the SARC, used in conjunction with <see cref="SFAT"/> and <see cref="SARC"/>.
/// </summary>
public struct SFATNode
{
public uint FileNameHash { get => _fileNameHash; set => _fileNameHash = value; }
private uint _fileNameHash;
public uint FileAttributes { get => _fileAttributes; set => _fileAttributes = value; }
private uint _fileAttributes;
public uint NodeFileDataBegin { get => _nodeFileDataBegin; set => _nodeFileDataBegin = value; }
private uint _nodeFileDataBegin;
public uint NodeFileDataEnd { get => _nodeFileDataEnd; set => _nodeFileDataEnd = value; }
private uint _nodeFileDataEnd;
public SFATNode(uint file_name_hash, uint file_attrs, uint node_file_begin, uint node_file_end)
{
_fileNameHash = file_name_hash;
_fileAttributes = file_attrs;
_nodeFileDataBegin = node_file_begin;
_nodeFileDataEnd = node_file_end;
}
}
}