예제 #1
0
        /// <summary>
        ///		Saves merely the timeline data from appdata.
        /// </summary>
        public void SoftSave(Timeline timeline)
        {
            SaveLoad.SavePath  = SoftSavePath;
            SaveLoad.Extention = TIMELINEEXTENTION;
            string s_timeline = TimelineSerializer.Serialize(timeline);

            SaveLoad.Save(s_timeline, timeline.Name);
        }
예제 #2
0
        /// <summary>
        ///		Loads merely the timeline data from appdata.
        /// </summary>
        public void SoftLoad(ref Timeline timeline, string saveName)
        {
            SaveLoad.SavePath  = SoftSavePath;
            SaveLoad.Extention = TIMELINEEXTENTION;
            string   s_timeline = SaveLoad.Load(saveName);
            Timeline tl         = TimelineSerializer.Deserialize(s_timeline);

            timeline.Chapters = tl.Chapters;
        }