2017-01-17 22:08:27 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ShiftOS.Objects
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
public class Job
|
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
public List<JobTask> Tasks { get; set; }
|
|
|
|
|
public string Author { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-19 02:07:57 +00:00
|
|
|
|
public abstract class JobTask
|
2017-01-17 22:08:27 +00:00
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
public int Reward { get; set; }
|
|
|
|
|
|
2017-01-19 02:07:57 +00:00
|
|
|
|
public abstract bool IsComplete { get; }
|
2017-01-17 22:08:27 +00:00
|
|
|
|
}
|
|
|
|
|
}
|