cull(engine-cleanup): pass-8 phase-2 cascade round 1

[trim] fully-unreachable files deleted: 6
[trim] files edited: 55, files deleted: 0, nodes removed: 244
[type-trim] files edited: 1, types removed: 1

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-07-03 21:18:18 -04:00
parent 3fb37f0249
commit c9628dee01
61 changed files with 4 additions and 1109 deletions

View File

@@ -25,8 +25,6 @@ public class BackGroundBase
protected IDictionary<string, int> _gimicCntDictionary;
public string[] GimicAudioList;
protected string _str3DFieldNo;
protected string _str3DFieldPath;
@@ -111,19 +109,6 @@ public class BackGroundBase
return fieldId.ToString((fieldId < 100) ? "00" : "0000");
}
protected virtual void BattleFieldBuild()
{
}
protected virtual List<string> CollectAdditionalAssets()
{
return null;
}
public virtual void StartFieldSetEffect(Vector3 pos)
{
}
public virtual void StartFieldTapEffect(int areaId, Vector3 pos)
{
m_BtlMgrIns.BattlePlayer.PlayerBattleView.IsTouchable();
@@ -147,15 +132,6 @@ public class BackGroundBase
yield return new WaitForSeconds(0f);
}
public static IEnumerator ObjectChecker(float fWaitSecs, string strObjectFind, Action callback)
{
// Pre-Phase-5b: polled GameObject.Find + EffectMgr readiness flags. All Field*.cs
// subclass BattleFieldBuild bodies were stubbed to no-ops in chunk 3; ObjectChecker
// is now only reachable via dead code. Fire the callback immediately.
yield return null;
callback();
}
public void StartFieldGimic(GameObject obj)
{
if (!m_BtlMgrIns.GameMgr.IsReplayBattle && m_BtlMgrIns.BattlePlayer.PlayerBattleView.IsTouchable())
@@ -169,11 +145,6 @@ public class BackGroundBase
yield return new WaitForSeconds(0f);
}
public void StartFieldShake()
{
BattleCoroutine.GetInstance().StartCoroutine(RunFieldShake());
}
protected virtual IEnumerator RunFieldShake()
{
yield return new WaitForSeconds(0f);
@@ -183,27 +154,6 @@ public class BackGroundBase
{
}
public void AddParticleToFieldObjDictionary(string targetPath)
{
string[] array = targetPath.Split('/');
List<Transform> list = new List<Transform>();
list.Add(_fieldParticles.transform);
List<Transform> list2 = new List<Transform>();
for (int i = 0; i < array.Length; i++)
{
list2 = new List<Transform>();
for (int j = 0; j < list.Count; j++)
{
list2.AddRange(FindAllChildByName(list[j], array[i]));
}
list = new List<Transform>(list2);
}
for (int k = 0; k < list2.Count; k++)
{
_fieldObjDictionary.Add(targetPath + "_" + k, list2[k].gameObject);
}
}
public List<Transform> FindAllChildByName(Transform parent, string name)
{
List<Transform> list = new List<Transform>();