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