Add custom ToString method for NPTicket section header

This commit is contained in:
Slendy 2024-05-11 17:58:48 -05:00
parent ed5bb5d769
commit 9e84e46844
No known key found for this signature in database
GPG key ID: 7288D68361B91428

View file

@ -33,6 +33,9 @@ public struct SectionHeader
public SectionType Type;
public ushort Length;
public int Position;
public override string ToString() =>
$"SectionHeader(Type='{this.Type}', Length='{this.Length}', Position='{this.Position}')";
}
public class TicketReader : BinaryReader