using System;
using UnityEngine;

namespace Wizard.Scripts.Network.Data.TaskData.BuildDeckPurchase;

public class BuildDeckSelectBuyMeansDialog : BaseSelectBuyMeansDialog
{
	[SerializeField]
	private BuildDeckProductDetail _buildDeckProductDetail;

	public void Init(BuildDeckProductInfo productInfo, DialogBase dialog, Action onPushBuyCrystalBtnCallBack, Action onPushBuyRupyBtnCallBack, Action onPushBuyTicketBtnCallBack)
	{
		_buildDeckProductDetail.SetSingleProductDetail(productInfo);
		_Init(productInfo.saleInfo, dialog, onPushBuyCrystalBtnCallBack, onPushBuyRupyBtnCallBack, onPushBuyTicketBtnCallBack);
	}
}
