mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-06-18 15:49:47 +03:00
scr reversed type
This commit is contained in:
@ -6,9 +6,9 @@ public class ScrFile
|
||||
/// тут всегда число 59 (0x3b) - это число известных игре скриптов
|
||||
/// </summary>
|
||||
public int Magic { get; set; }
|
||||
|
||||
|
||||
public int EntryCount { get; set; }
|
||||
|
||||
|
||||
public List<ScrEntry> Entries { get; set; }
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@ public class ScrEntry
|
||||
public string Title { get; set; }
|
||||
|
||||
public int Index { get; set; }
|
||||
|
||||
|
||||
public int InnerCount { get; set; }
|
||||
|
||||
public List<ScrEntryInner> Inners { get; set; }
|
||||
@ -32,7 +32,15 @@ public class ScrEntryInner
|
||||
|
||||
public int UnkInner2 { get; set; }
|
||||
public int UnkInner3 { get; set; }
|
||||
public int UnkInner4 { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 0,1,2,3,4,5,6,-1
|
||||
/// </summary>
|
||||
///
|
||||
/// <para>1 - неизвестно</para>
|
||||
/// <para>2 - noop</para>
|
||||
public int Type { get; set; }
|
||||
|
||||
public int UnkInner5 { get; set; }
|
||||
|
||||
public int ArgumentsCount { get; set; }
|
||||
|
@ -31,7 +31,7 @@ public class ScrParser
|
||||
|
||||
entryInner.UnkInner2 = fs.ReadInt32LittleEndian();
|
||||
entryInner.UnkInner3 = fs.ReadInt32LittleEndian();
|
||||
entryInner.UnkInner4 = fs.ReadInt32LittleEndian();
|
||||
entryInner.Type = fs.ReadInt32LittleEndian();
|
||||
entryInner.UnkInner5 = fs.ReadInt32LittleEndian();
|
||||
|
||||
entryInner.ArgumentsCount = fs.ReadInt32LittleEndian();
|
||||
|
Reference in New Issue
Block a user