0
mirror of https://github.com/sampletext32/ParkanPlayground.git synced 2025-06-20 00:18:02 +03:00

Implement SCR UI

This commit is contained in:
bird_egop
2025-02-26 04:27:16 +03:00
parent b47a9aff5d
commit d7eb23e9e0
17 changed files with 616 additions and 49 deletions

43
ScrLib/ScrFile.cs Normal file
View File

@ -0,0 +1,43 @@
namespace ScrLib;
public class ScrFile
{
/// <summary>
/// тут всегда число 59 (0x3b) - это число известных игре скриптов
/// </summary>
public int Magic { get; set; }
public int EntryCount { get; set; }
public List<ScrEntry> Entries { get; set; }
}
public class ScrEntry
{
public string Title { get; set; }
public int Index { get; set; }
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; }
public int UnkInner4 { get; set; }
public int UnkInner5 { get; set; }
public int ArgumentsCount { get; set; }
public List<int> Arguments { get; set; }
public int UnkInner7 { get; set; }
}