File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
using Audio . Chunks ;
2
2
using Audio . Conversion ;
3
- using Audio . Utils ;
4
3
using System . Buffers ;
5
4
using System . Diagnostics . CodeAnalysis ;
6
5
using System . Text . Json . Serialization ;
@@ -13,9 +12,9 @@ public abstract record Entry : IBankReadable
13
12
public uint Offset { get ; set ; }
14
13
public uint Size { get ; set ; }
15
14
public uint Folder { get ; set ; }
16
- public string ? Name { get ; set ; }
17
15
public EntryType Type { get ; set ; }
18
16
public string Source => Parent ? . Source ?? "" ;
17
+ public virtual string ? Name { get ; set ; }
19
18
public virtual string ? Location => $ "{ FolderName } /{ Name } ";
20
19
public virtual string FolderName => Parent is AKPK akpk && akpk . FoldersDict . TryGetValue ( Folder , out string ? name ) == true ? name : "None" ;
21
20
Original file line number Diff line number Diff line change 1
1
namespace Audio . Entries ;
2
2
public record External : TaggedEntry < ulong >
3
3
{
4
+ public override string ? Name => ID . ToString ( ) ;
4
5
public override string ? Location => string . IsNullOrEmpty ( Name ) ? $ "{ FolderName } /{ Name } .wem" : Name + ( Path . GetExtension ( Name ) == ".wem" ? "" : ".wem" ) ;
5
6
6
7
public External ( ) : base ( EntryType . External ) { }
You can’t perform that action at this time.
0 commit comments