123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using Newtonsoft.Json;
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- [Serializable]
- public class Assistance : DataObject
- {
- [JsonProperty]
- [SerializeField]
- public string Location;
- [JsonProperty]
- [SerializeField]
- public List<Instruction> Instructions;
- [JsonProperty]
- [SerializeField]
- public Currency Reward;
- public Assistance(string ID,string Location,List<Instruction> Instructions,Currency Reward)
- {
- this.id = ID;
- this.Location = Location;
- this.Instructions = Instructions;
- this.Reward = Reward;
- }
- }
- [Serializable]
- public class Instruction
- {
- [JsonProperty]
- [SerializeField]
- public string ConversationID;
- [JsonProperty]
- [SerializeField]
- public GigAction[] actions;
- public Instruction(string ConvID, GigAction[] actions)
- {
- ConversationID = ConvID;
- this.actions = actions;
- }
- }
|