TranslatorQueueItem.cs 620 B

123456789101112131415161718192021222324252627
  1. using ChocolArm64.State;
  2. namespace ChocolArm64.Translation
  3. {
  4. struct TranslatorQueueItem
  5. {
  6. public long Position { get; }
  7. public ExecutionMode Mode { get; }
  8. public TranslationTier Tier { get; }
  9. public bool IsComplete { get; }
  10. public TranslatorQueueItem(
  11. long position,
  12. ExecutionMode mode,
  13. TranslationTier tier,
  14. bool isComplete = false)
  15. {
  16. Position = position;
  17. Mode = mode;
  18. Tier = tier;
  19. IsComplete = isComplete;
  20. }
  21. }
  22. }