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