feat(battle-engine): close the AI-simulation subsystem (verbatim)
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.
This commit is contained in:
95
SVSim.BattleEngine/Engine/AreaBGInfo.cs
Normal file
95
SVSim.BattleEngine/Engine/AreaBGInfo.cs
Normal file
@@ -0,0 +1,95 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user