RelocEntry.cs 413 B

12345678910111213141516171819
  1. namespace ARMeilleure.Translation.PTC
  2. {
  3. struct RelocEntry
  4. {
  5. public int Position;
  6. public int Index;
  7. public RelocEntry(int position, int index)
  8. {
  9. Position = position;
  10. Index = index;
  11. }
  12. public override string ToString()
  13. {
  14. return $"({nameof(Position)} = {Position}, {nameof(Index)} = {Index})";
  15. }
  16. }
  17. }