2025-02-26 04:27:16 +03:00
|
|
|
|
namespace ScrLib;
|
|
|
|
|
|
|
|
|
|
public class ScrFile
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// тут всегда число 59 (0x3b) - это число известных игре скриптов
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Magic { get; set; }
|
2025-03-01 22:45:15 +03:00
|
|
|
|
|
2025-02-26 04:27:16 +03:00
|
|
|
|
public int EntryCount { get; set; }
|
2025-03-01 22:45:15 +03:00
|
|
|
|
|
2025-02-26 04:27:16 +03:00
|
|
|
|
public List<ScrEntry> Entries { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ScrEntry
|
|
|
|
|
{
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
|
|
|
|
|
public int Index { get; set; }
|
2025-03-01 22:45:15 +03:00
|
|
|
|
|
2025-02-26 04:27:16 +03:00
|
|
|
|
public int InnerCount { get; set; }
|
|
|
|
|
|
|
|
|
|
public List<ScrEntryInner> Inners { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ScrEntryInner
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Номер скрипта в игре (это тех, которых 0x3b)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int ScriptIndex { get; set; }
|
|
|
|
|
|
|
|
|
|
public int UnkInner2 { get; set; }
|
|
|
|
|
public int UnkInner3 { get; set; }
|
2025-03-01 22:45:15 +03:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 0,1,2,3,4,5,6,-1
|
|
|
|
|
/// </summary>
|
|
|
|
|
///
|
|
|
|
|
/// <para>1 - неизвестно</para>
|
|
|
|
|
/// <para>2 - noop</para>
|
|
|
|
|
public int Type { get; set; }
|
|
|
|
|
|
2025-02-26 04:27:16 +03:00
|
|
|
|
public int UnkInner5 { get; set; }
|
|
|
|
|
|
|
|
|
|
public int ArgumentsCount { get; set; }
|
|
|
|
|
|
|
|
|
|
public List<int> Arguments { get; set; }
|
|
|
|
|
|
|
|
|
|
public int UnkInner7 { get; set; }
|
|
|
|
|
}
|