123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- using Newtonsoft.Json;
- using Newtonsoft.Json.Converters;
- using System;
- using System.Collections.Generic;
- using UnityEngine;
- namespace DataTools
- {
- [Serializable]
- public class Chapter : DataObject
- {
- [Header("ACTIONS")]
- [JsonProperty]
- [SerializeField]
- protected List<ChapterElement> elements;
- [Header("CONVERSATIONS")]
- [JsonProperty]
- [SerializeField]
- protected List<Conversation> conversations;
- [Header("QUESTS")]
- [JsonProperty]
- [SerializeField]
- protected List<Quest> quests;
- [Header("ASSISTANCES")]
- [JsonProperty]
- [SerializeField]
- protected List<Assistance> Assistances;
- [Header("GIGS")]
- [JsonProperty]
- [SerializeField]
- protected List<Gig> gigs;
- [Header("TWEETS")]
- [JsonProperty]
- [SerializeField]
- protected List<Tweet> tweets;
-
- [JsonIgnore]
- public List<Assistance> GetAssistances
- {
- get
- {
- return Assistances;
- }
- set
- {
- Assistances = value;
- }
- }
-
- [JsonIgnore]
- public List<ChapterElement> Elements
- {
- get
- {
- return elements;
- }
- set
- {
- elements = value;
- }
- }
- [JsonIgnore]
- public List<Conversation> Conversations
- {
- get
- {
- return conversations;
- }
- set
- {
- conversations = value;
- }
- }
- [JsonIgnore]
- public List<Quest> Quests
- {
- get
- {
- return quests;
- }
- set
- {
- quests = value;
- }
- }
- [JsonIgnore]
- public List<Gig> Gigs
- {
- get
- {
- return gigs;
- }
- set
- {
- gigs = value;
- }
- }
- [JsonIgnore]
- public List<Tweet> Tweets
- {
- get
- {
- return tweets;
- }
- set
- {
- tweets = value;
- }
- }
- }
- }
|