Materializes one FNT directory record as a navigable node while preserving its encoded child order.
More...
|
| IEnumerable< NdsFile > | EnumerateFiles (bool recursive=true) |
| | Walks named payloads in encoded depth-first order without allocating a flattened collection.
|
| IEnumerable< NdsDirectory > | EnumerateDirectories (bool recursive=true) |
| | Walks child directory nodes in encoded depth-first order while excluding the current node.
|
|
| ushort | Id [get] |
| | Combines the 0xF000 directory tag with the main-table record index in its low 12 bits.
|
| string | Name [get] |
| | Gets the byte-preserving Latin-1 name projection, or an empty string for the synthetic root.
|
| string | FullPath [get] |
| | Uses ordinal slash-separated semantics and represents the root with exactly /.
|
| NdsDirectory? | Parent [get] |
| | Gets the parent, or null for the root.
|
| IReadOnlyList< NdsDirectory > | Directories [get] |
| | Gets immediate child directories in FNT order.
|
| IReadOnlyList< NdsFile > | Files [get] |
| | Gets immediate child files in FNT order.
|
Materializes one FNT directory record as a navigable node while preserving its encoded child order.
Definition at line 4 of file NdsDirectory.cs.
◆ EnumerateDirectories()
| IEnumerable< NdsDirectory > NdsForge.NdsDirectory.EnumerateDirectories |
( |
bool | recursive = true | ) |
|
|
inline |
Walks child directory nodes in encoded depth-first order while excluding the current node.
- Parameters
-
| recursive | Whether each child's descendants follow that child in the traversal. |
- Returns
- A lazy sequence suitable for hierarchy-aware LINQ queries.
Definition at line 67 of file NdsDirectory.cs.
◆ EnumerateFiles()
| IEnumerable< NdsFile > NdsForge.NdsDirectory.EnumerateFiles |
( |
bool | recursive = true | ) |
|
|
inline |
Walks named payloads in encoded depth-first order without allocating a flattened collection.
- Parameters
-
| recursive | Whether descendants are included after this node's immediate files. |
- Returns
- A lazy traversal that remains valid while the owning image is live.
Definition at line 45 of file NdsDirectory.cs.
◆ Directories
| IReadOnlyList<NdsDirectory> NdsForge.NdsDirectory.Directories |
|
get |
Gets immediate child directories in FNT order.
Definition at line 37 of file NdsDirectory.cs.
◆ Files
| IReadOnlyList<NdsFile> NdsForge.NdsDirectory.Files |
|
get |
Gets immediate child files in FNT order.
Definition at line 40 of file NdsDirectory.cs.
◆ FullPath
| string NdsForge.NdsDirectory.FullPath |
|
get |
Uses ordinal slash-separated semantics and represents the root with exactly /.
Definition at line 31 of file NdsDirectory.cs.
◆ Id
| ushort NdsForge.NdsDirectory.Id |
|
get |
Combines the 0xF000 directory tag with the main-table record index in its low 12 bits.
Definition at line 25 of file NdsDirectory.cs.
◆ Name
| string NdsForge.NdsDirectory.Name |
|
get |
Gets the byte-preserving Latin-1 name projection, or an empty string for the synthetic root.
Definition at line 28 of file NdsDirectory.cs.
◆ Parent
| NdsDirectory? NdsForge.NdsDirectory.Parent |
|
get |
Gets the parent, or null for the root.
Definition at line 34 of file NdsDirectory.cs.
The documentation for this class was generated from the following file: