using System.Collections.Generic; using UnityEngine; public class AreaBGInfo : MonoBehaviour { private readonly List _chapterExtraDatas = new List { new ChapterExtraData { SectionId = 2, ExtraTextureChapter = 10, BGExtraEffectPath = "scn_map_change_1", SeType = Se.TYPE.SE_MAP_TREE_EFFECT }, new ChapterExtraData { SectionId = 2, ExtraTextureChapter = 11, ExtraTextureIndex = { 1, 2 }, BGSuffix = "b" }, new ChapterExtraData { SectionId = 2, ExtraTextureChapter = 12, ExtraTextureIndex = { 1, 2 }, BGSuffix = "b" }, new ChapterExtraData { SectionId = 1, ExtraTextureChapter = 4, BGExtraEffectPath = "scn_map_change_1", SeType = Se.TYPE.SE_MAP_TREE_EFFECT, ClanType = CardBasePrm.ClanType.NEMESIS }, new ChapterExtraData { SectionId = 1, ExtraTextureChapter = 5, ExtraTextureIndex = { 1, 2 }, BGSuffix = "b", ClanType = CardBasePrm.ClanType.NEMESIS }, new ChapterExtraData { SectionId = 1, ExtraTextureChapter = 6, ExtraTextureIndex = { 1, 2 }, BGSuffix = "b", ClanType = CardBasePrm.ClanType.NEMESIS }, new ChapterExtraData { SectionId = 9, ExtraTextureChapter = 1, BGSectionId = 4, BGExtraEffectPath = "scn_map_change_4", BGFirstClearEffectPath = "scn_map_change_2", FirstClearSeType = Se.TYPE.SE_MAP_SECTION9_CHAPTER1, SeType = Se.TYPE.SE_MAP_SECTION9_CHANGE_CHAPTER, ChapterMoveTime = 0f, FirstClearEffectDelayTime = 1.2f, FirstClearMoveOutDelayTime = 0.5f }, new ChapterExtraData { SectionId = 9, ExtraTextureChapter = 2, BGSectionId = 7, BGExtraEffectPath = "scn_map_change_4", BGFirstClearEffectPath = "scn_map_change_3", FirstClearSeType = Se.TYPE.SE_MAP_SECTION9_CHAPTER2, SeType = Se.TYPE.SE_MAP_SECTION9_CHANGE_CHAPTER, FirstClearEffectDelayTime = 1.2f, FirstClearMoveDelayTime = 1f }, new ChapterExtraData { SectionId = 9003, ExtraTextureIndex = { 1, 2 }, BGSuffix = "c" } }; public List GetExtraChapters(int sectionId, int? selectStoryClassId) { List list = _chapterExtraDatas.FindAll((ChapterExtraData item) => item.SectionId == sectionId); if (sectionId == 20) { list.AddRange(AreaBGInfoSection20.GetChapterExtraDatas()); } return list.FindAll((ChapterExtraData item) => (CardBasePrm.ClanType?)item.ClanType == (CardBasePrm.ClanType?)selectStoryClassId || item.ClanType == CardBasePrm.ClanType.NONE); } }