| | 1 | | using System; |
| | 2 | | using UnityEngine; |
| | 3 | |
|
| | 4 | | [System.Serializable] |
| | 5 | | public class QuestTask |
| | 6 | | { |
| | 7 | | public string id; |
| | 8 | | public string type; |
| | 9 | | public string payload; |
| | 10 | | public string name; |
| | 11 | | public string status; |
| | 12 | | public string coordinates; |
| | 13 | | public float progress; |
| 79 | 14 | | public DateTime completionTime = DateTime.Now; |
| | 15 | |
|
| | 16 | | [NonSerialized] |
| | 17 | | public bool justProgressed = false; |
| | 18 | | [NonSerialized] |
| | 19 | | public bool justUnlocked = false; |
| | 20 | | [NonSerialized] |
| | 21 | | public float oldProgress = 0; |
| | 22 | | } |
| | 23 | |
|
| | 24 | | [System.Serializable] |
| | 25 | | public class TaskPayload_Single |
| | 26 | | { |
| | 27 | | public bool isDone; |
| | 28 | |
|
| | 29 | | } |
| | 30 | |
|
| | 31 | | [System.Serializable] |
| | 32 | | public class TaskPayload_Numeric |
| | 33 | | { |
| | 34 | | public int start; |
| | 35 | | public int end; |
| | 36 | | public int current; |
| | 37 | | } |