using Wizard;

public class MatchingRetryLoaded : MatchingIntervalActionBase
{
	public MatchingRetryLoaded(Matching matching)
		: base(matching)
	{
	}

	public override void Update()
	{
		if (_isActive && (float)NetworkUtility.GetTimeSpanSecond(_startTimer.Ticks) >= 1f)
		{
			_isActive = false;
			ToolboxGame.RealTimeNetworkAgent.EmitMsgPack(NetworkBattleDefine.NetworkBattleURI.Loaded);
		}
	}
}
