This commit is contained in:
YiHan0621
2025-10-11 14:30:38 +08:00
parent 6c98d9a449
commit 2e4a318ca3
158 changed files with 7344 additions and 2213 deletions

View File

@@ -98,6 +98,8 @@ namespace TcgEngine.UI
if (res.success)
{
PackPanel.Get().ReloadUserPack();
Debug.Log($"够买成功!{req.pack}");
PackPanel.Get().RefreshCurrency();
Hide();
}
else
@@ -118,6 +120,19 @@ namespace TcgEngine.UI
}
}
public void OnClickBuy(PackData setPack)
{
pack = setPack;
if (Authenticator.Get().IsTest())
{
BuyPackTest();
}
if (Authenticator.Get().IsApi())
{
BuyPackApi();
}
}
private void OnClickTab(TabButton btn)
{
if (btn.group == "menu")