Compile-driven bulk-copy loop (tools/engine-port/m1_copy_loop.py) pulled the precise reference closure of the battle-core roots, stopping at the classify god-object/View-VFX-UI boundary. 782 files; no re-explosion (M0 had estimated ~order 1000). Residual frontier = 52 shim-classified + 80 external (Unity/BCL) types to author next.
51 lines
850 B
C#
51 lines
850 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Wizard;
|
|
|
|
public class AISimulationPreprocessRecorder
|
|
{
|
|
public List<AISinglePreprocessRecord> RecordList;
|
|
|
|
public int TotalBurialCount { get; private set; }
|
|
|
|
public bool HasRecord
|
|
{
|
|
get
|
|
{
|
|
if (RecordList != null)
|
|
{
|
|
return RecordList.Count > 0;
|
|
}
|
|
return false;
|
|
}
|
|
}
|
|
|
|
public AISimulationPreprocessRecorder()
|
|
{
|
|
TotalBurialCount = 0;
|
|
}
|
|
|
|
public void AddRecord(AISinglePreprocessRecord record)
|
|
{
|
|
RecordList = AIParamQuery.AddElementToList(record, RecordList);
|
|
if (record.BurialRiteCount > 0)
|
|
{
|
|
TotalBurialCount += record.BurialRiteCount;
|
|
}
|
|
}
|
|
|
|
public void RemoveAll()
|
|
{
|
|
if (RecordList != null)
|
|
{
|
|
RecordList.Clear();
|
|
RecordList = null;
|
|
}
|
|
}
|
|
|
|
public void ClearBurialCount()
|
|
{
|
|
TotalBurialCount = 0;
|
|
}
|
|
}
|