Scriptum/Assets/Scripts/REFACTORING/Application/Mission/Save/Condition/MissionConditionDataLoader.cs

43 lines
1.3 KiB
C#
Raw Normal View History

2023-01-03 22:44:24 +01:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class MissionConditionDataLoader : SceneBaseDataLoader<IndexValuePair<string, List<MissionConditionData>>>
{
public MissionConditionDataLoader(string _objectListName, string _objectFolderName)
{
SaveModelSystem = new SaveMissionConditionManager();
SaveModelSystem.ObjectFolderName = _objectFolderName;
SaveModelSystem.ObjectListName = _objectListName;
}
protected override List<IndexValuePair<string, List<MissionConditionData>>> LoadDynamicData()
{
SaveModelSystem.Path = PathBuilder.BuildSavePath().GetString();
return SaveModelSystem.LoadModelList();
}
protected override bool SaveDynamicData(List<IndexValuePair<string, List<MissionConditionData>>> _elements)
{
SaveModelSystem.Path = PathBuilder.BuildSavePath().GetString();
return base.SaveDynamicData(_elements);
}
protected override List<IndexValuePair<string, List<MissionConditionData>>> LoadGenericData()
{
throw new NotImplementedException();
}
protected override bool SaveGenericData(List<IndexValuePair<string, List<MissionConditionData>>> _elements)
{
throw new NotImplementedException();
}
}