~ruther/NosSmooth

ref: 18763fe567377741ff1330cb6ae6940cc3bd899b NosSmooth/Data/NosSmooth.Data.NOSFiles/NostaleFiles.cs -rw-r--r-- 1.4 KiB
18763fe5 — František Boháček tests(game): add raid tests 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
//  NostaleFiles.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

using NosSmooth.Data.Abstractions.Language;
using NosSmooth.Data.NOSFiles.Files;

namespace NosSmooth.Data.NOSFiles;

/// <summary>
/// Contains some of the NosTale NOS file archives.
/// </summary>
public class NostaleFiles
{
    /// <summary>
    /// Initializes a new instance of the <see cref="NostaleFiles"/> class.
    /// </summary>
    /// <param name="languageFiles">The language files.</param>
    /// <param name="datFiles">The dat files.</param>
    /// <param name="mapGridsFiles">The map grids files.</param>
    public NostaleFiles(IReadOnlyDictionary<Language, FileArchive> languageFiles, FileArchive datFiles, FileArchive mapGridsFiles)
    {
        LanguageFiles = languageFiles;
        DatFiles = datFiles;
        MapGridsFiles = mapGridsFiles;
    }

    /// <summary>
    /// Gets the file archives containing language text files.
    /// </summary>
    public IReadOnlyDictionary<Language, FileArchive> LanguageFiles { get; }

    /// <summary>
    /// Gets the dat files archive.
    /// </summary>
    public FileArchive DatFiles { get; }

    /// <summary>
    /// Gets the map grids files archive.
    /// </summary>
    public FileArchive MapGridsFiles { get; }
}
Do not follow this link