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.
49 lines
785 B
C#
49 lines
785 B
C#
using System;
|
|
using Cute;
|
|
|
|
public class DisconnectToDispChecker : NetworkBattleIntervalCheckerBase
|
|
{
|
|
private const float DISP_DISCONNECT_INTERVAL = 16f;
|
|
|
|
public bool isDisp;
|
|
|
|
public event Action OnDisp;
|
|
|
|
public event Action OnErase;
|
|
|
|
public void EraseDisp()
|
|
{
|
|
if (isDisp)
|
|
{
|
|
this.OnErase.Call();
|
|
isDisp = false;
|
|
}
|
|
}
|
|
|
|
protected override void IntervalCheck()
|
|
{
|
|
base.IntervalCheck();
|
|
if ((float)NetworkUtility.GetTimeSpanSecond(base.startTick) >= 16f)
|
|
{
|
|
DisconnectDisp();
|
|
}
|
|
}
|
|
|
|
private void DisconnectDisp()
|
|
{
|
|
this.OnDisp.Call();
|
|
isDisp = true;
|
|
StopChecker();
|
|
}
|
|
|
|
public void DebugDisconnectDisp(int cardId)
|
|
{
|
|
}
|
|
|
|
public override void FinishChecker()
|
|
{
|
|
base.FinishChecker();
|
|
EraseDisp();
|
|
}
|
|
}
|