mirror of
https://github.com/kwsch/NHSE.git
synced 2026-04-24 23:27:14 -05:00
Enum visiting NPCs
magic numbers no more ty irc guy
This commit is contained in:
parent
53155f4748
commit
71be1fc419
|
|
@ -11,7 +11,7 @@ public class GSaveVisitorNpc
|
|||
private const int Days = 7;
|
||||
|
||||
[field: MarshalAs(UnmanagedType.ByValArray, SizeConst = Days)]
|
||||
public int[] VisitorNPC { get; set; }
|
||||
public VisitorNPC[] VisitorNPC { get; set; }
|
||||
|
||||
public V3f CreatePos { get; set; }
|
||||
public V3f _61e631dc { get; set; }
|
||||
|
|
@ -26,7 +26,7 @@ public class GSaveVisitorNpc
|
|||
public byte[] gap_42;
|
||||
|
||||
[field: MarshalAs(UnmanagedType.ByValArray, SizeConst = Days)]
|
||||
public int[] InitSchedule { get; set; }
|
||||
public VisitorNPC[] InitSchedule { get; set; }
|
||||
|
||||
[field: MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.I1, SizeConst = Days * 2)]
|
||||
public bool[] _437619d8 { get; set; }
|
||||
|
|
@ -48,4 +48,19 @@ public struct V3f
|
|||
|
||||
public override string ToString() => $"({X},{Y},{Z})";
|
||||
}
|
||||
|
||||
public enum VisitorNPC
|
||||
{
|
||||
None = 0,
|
||||
Gulliver = 1,
|
||||
Label = 2,
|
||||
Saharah = 3,
|
||||
Wisp = 4,
|
||||
Mabel = 5,
|
||||
CJ = 6,
|
||||
Flick = 7,
|
||||
Kicks = 8,
|
||||
Leif = 9,
|
||||
Redd = 10,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user