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.
36 lines
834 B
C#
36 lines
834 B
C#
using System;
|
|
using Cute;
|
|
|
|
public class NotTurnEndToLoseChecker : NetworkBattleIntervalCheckerBase
|
|
{
|
|
private NetworkBattleManagerBase networkBattleManager;
|
|
|
|
private const float NOT_TURNEND_TO_LOSE_INTERVAL = 125f;
|
|
|
|
public event Action OnNotTurnEndToLose;
|
|
|
|
public NotTurnEndToLoseChecker(NetworkBattleManagerBase manager)
|
|
{
|
|
networkBattleManager = manager;
|
|
}
|
|
|
|
public override void StopChecker()
|
|
{
|
|
if (!((float)NetworkUtility.GetTimeSpanSecond(base.startTick) >= 125f))
|
|
{
|
|
base.StopChecker();
|
|
}
|
|
}
|
|
|
|
protected override void IntervalCheck()
|
|
{
|
|
base.IntervalCheck();
|
|
if (!networkBattleManager.disconnectToLoseChecker.IsDisconnect() && (float)NetworkUtility.GetTimeSpanSecond(base.startTick) >= 125f)
|
|
{
|
|
this.OnNotTurnEndToLose.Call();
|
|
InitTimer();
|
|
StopChecker();
|
|
}
|
|
}
|
|
}
|