Skip to content

Commit

Permalink
Add custom ToString method for NPTicket section header
Browse files Browse the repository at this point in the history
  • Loading branch information
Slendy committed May 11, 2024
1 parent ed5bb5d commit 9e84e46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ProjectLighthouse/Tickets/TicketReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e84e46

Please sign in to comment.