mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-06-18 15:49:47 +03:00
комментарии и дополнительные изыскания
This commit is contained in:
@ -33,13 +33,7 @@ public class ScrEntryInner
|
||||
public int UnkInner2 { get; set; }
|
||||
public int UnkInner3 { 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 ScrEntryInnerType Type { get; set; }
|
||||
|
||||
public int UnkInner5 { get; set; }
|
||||
|
||||
@ -48,4 +42,19 @@ public class ScrEntryInner
|
||||
public List<int> Arguments { get; set; }
|
||||
|
||||
public int UnkInner7 { get; set; }
|
||||
}
|
||||
|
||||
public enum ScrEntryInnerType
|
||||
{
|
||||
Unspecified = -1,
|
||||
_0 = 0,
|
||||
_1 = 1,
|
||||
_2 = 2,
|
||||
_3 = 3,
|
||||
_4 = 4,
|
||||
CheckInternalState = 5,
|
||||
/// <summary>
|
||||
/// В случае 6, игра берёт UnkInner2 (индекс в Varset) и устанавливает ему значение UnkInner3
|
||||
/// </summary>
|
||||
SetVarsetValue = 6,
|
||||
}
|
@ -31,7 +31,7 @@ public class ScrParser
|
||||
|
||||
entryInner.UnkInner2 = fs.ReadInt32LittleEndian();
|
||||
entryInner.UnkInner3 = fs.ReadInt32LittleEndian();
|
||||
entryInner.Type = fs.ReadInt32LittleEndian();
|
||||
entryInner.Type = (ScrEntryInnerType)fs.ReadInt32LittleEndian();
|
||||
entryInner.UnkInner5 = fs.ReadInt32LittleEndian();
|
||||
|
||||
entryInner.ArgumentsCount = fs.ReadInt32LittleEndian();
|
||||
|
Reference in New Issue
Block a user