转换器文件部分为空

时间:2016-10-04 22:11:34

标签: c#

我正在为BFRES转换器制作BRRES。出于某种原因,MDL0部分在调试时似乎总是为空。以下是Brres文件加载器的代码:

/// <summary>
/// Represents a set of properties controlling the load of a <see cref="Brres.BrresFile"/>.
/// </summary>
internal class BrresLoaderContext
{
    // ---- CONSTRUCTORS -------------------------------------------------------------------------------------------

    /// <summary>
    /// Initializes a new instance of the <see cref="BrresLoaderContext"/> class for the given <see cref="BrresFile"/>
    /// instance using the given <see cref="BinaryDataReader"/>.
    /// </summary>
    /// <param name="BrresFile">The <see cref="BrresFile"/> instance to load the data in.</param>
    /// <param name="reader">The <see cref="BinaryDataReader"/> to use for reading the data.</param>
    internal BrresLoaderContext(BrresFile brresFile, BinaryDataReader reader)
    {
        BrresFile = brresFile;
        Reader = reader;
        Warnings = new List<string>();
    }

    // ---- PROPERTIES ---------------------------------------------------------------------------------------------

    /// <summary>
    /// Gets the <see cref="BrresFile"/> instance which is loaded to.
    /// </summary>
    internal BrresFile BrresFile
    {
        get;
        private set;
    }

    /// <summary>
    /// Gets the <see cref="BinaryDataReader"/> which is used to read data from the input stream.
    /// </summary>
    internal BinaryDataReader Reader
    {
        get;
        private set;
    }

    /// <summary>
    /// Gets or sets the warnings raised after loading the Brres file.
    /// </summary>
    internal List<string> Warnings
    {
        get;
        private set;
    }
}

我大部分都没有更新评论。

那为什么它是空的?

0 个答案:

没有答案