Copied the 89 uncopied AI*SimulationUtility/extension files defining the AIVirtualCard/AIVirtualField extension methods; the compile loop then auto-closed the revealed type deps (~3049 files total, drift-clean). 10.0k -> 62 errors.
96 lines
2.5 KiB
C#
96 lines
2.5 KiB
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class AreaBGInfo : MonoBehaviour
|
|
{
|
|
private readonly List<ChapterExtraData> _chapterExtraDatas = new List<ChapterExtraData>
|
|
{
|
|
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<ChapterExtraData> GetExtraChapters(int sectionId, int? selectStoryClassId)
|
|
{
|
|
List<ChapterExtraData> 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);
|
|
}
|
|
}
|