Files
SVSimServer/SVSim.BattleEngine/Engine/Wizard.Lottery/LotterySpecialRewardDialog.cs
gamer147 824309ec44 feat(battle-engine): close the AI-simulation subsystem (verbatim)
Copied the 89 uncopied AI*SimulationUtility/extension files defining the
AIVirtualCard/AIVirtualField extension methods; the compile loop then auto-closed
the revealed type deps (~3049 files total, drift-clean). 10.0k -> 62 errors.
2026-06-05 20:30:59 -04:00

27 lines
638 B
C#

using UnityEngine;
namespace Wizard.Lottery;
public class LotterySpecialRewardDialog : MonoBehaviour
{
[SerializeField]
private UILabel _labelDescription;
private LotteryRewardData _lotteryRewardData;
public void Init(LotteryRewardData lotteryRewardData)
{
_lotteryRewardData = lotteryRewardData;
_labelDescription.text = _lotteryRewardData.Description;
}
public void OnClickSpecialRewardSiteBtn()
{
GameMgr.GetIns().GetSoundMgr().PlaySe(Se.TYPE.SYS_BTN_DECIDE);
if (_lotteryRewardData.IsSpecial)
{
UIManager.GetInstance().WebViewHelper.OpenUrl(_lotteryRewardData.LotteryUrl);
}
}
}