1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using System;
- //using WebTools.Currencies.Datas;
- using Newtonsoft.Json;
- [Serializable]
- public class Quest : DataObject
- {
- [JsonProperty]
- [SerializeField]
- public Task[] tasks;
- [JsonProperty]
- [SerializeField]
- public Currency reward;
- [JsonProperty]
- [SerializeField]
- public string Description;
- public Quest(string id, Task[] tasks, Currency reward,string Description)
- {
- this.id = id;
- this.tasks = tasks;
- this.reward = reward;
- this.Description = Description;
- }
- }
- //[Serializable]
- //public class Missions : List<Mission>
- //{
- //}
- //[Serializable]
- //public class Mission
- //{
- // [JsonProperty]
- // [SerializeField]
- // public string title;
- // [JsonProperty]
- // [SerializeField]
- // public Task[] tasks;
- // [JsonProperty]
- // [SerializeField]
- // public string tweetID;
- // [JsonProperty]
- // [SerializeField]
- // public string CallID;
- // public Mission(string title, string tweetID, string callID)
- // {
- // this.title = title;
- // this.tweetID = tweetID;
- // this.CallID = callID;
- // }
- //}
- //[Serializable]
- //public class Tasks : List<Task>
- //{
- //}
|