Kernel_bin.Slot.cs 573 B

1234567891011121314151617181920212223
  1. using System.IO;
  2. namespace FF8
  3. {
  4. public partial class Kernel_bin
  5. {
  6. /// <summary>
  7. /// Slot Magic Data
  8. /// </summary>
  9. /// <see cref="https://github.com/alexfilth/doomtrain/wiki/Selphie-limit-break-sets"/>
  10. public struct Slot
  11. {
  12. public byte MagicID { get; private set; }
  13. public byte Count { get; private set; }
  14. public void Read(BinaryReader br, int i = 0)
  15. {
  16. MagicID = br.ReadByte();
  17. Count = br.ReadByte();
  18. }
  19. }
  20. }
  21. }