43 lines
1.3 KiB
C#
43 lines
1.3 KiB
C#
|
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();
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
|