2019-02-04 22:26:05 +01:00
|
|
|
using ChocolArm64.State;
|
|
|
|
|
|
|
|
namespace ChocolArm64.Translation
|
|
|
|
{
|
|
|
|
struct TranslatorQueueItem
|
|
|
|
{
|
|
|
|
public long Position { get; }
|
|
|
|
|
|
|
|
public ExecutionMode Mode { get; }
|
|
|
|
|
|
|
|
public TranslationTier Tier { get; }
|
|
|
|
|
2019-02-28 03:03:31 +01:00
|
|
|
public bool IsComplete { get; }
|
|
|
|
|
|
|
|
public TranslatorQueueItem(
|
|
|
|
long position,
|
|
|
|
ExecutionMode mode,
|
|
|
|
TranslationTier tier,
|
|
|
|
bool isComplete = false)
|
2019-02-04 22:26:05 +01:00
|
|
|
{
|
2019-02-28 03:03:31 +01:00
|
|
|
Position = position;
|
|
|
|
Mode = mode;
|
|
|
|
Tier = tier;
|
|
|
|
IsComplete = isComplete;
|
2019-02-04 22:26:05 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|