feat(battle-engine): EffectType full enum + collection/card/vfx extension copies
Replaces partial EffectMgr.EffectType with all 226 decomp values; copies the IsNotNullOrEmpty/EquelsID/FindFromCardId/GetAllFuncVfxResults extension files + UI extensions; adds Renderer/MeshFilter shared-material/mesh/sortingOrder. Compile loop then closed the revealed deps (3242 files). 9.1k -> 18 errors.
This commit is contained in:
54
SVSim.BattleEngine/Engine/Wizard/RefundWarningDialog.cs
Normal file
54
SVSim.BattleEngine/Engine/Wizard/RefundWarningDialog.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using Cute;
|
||||
|
||||
namespace Wizard;
|
||||
|
||||
public class RefundWarningDialog
|
||||
{
|
||||
private const int PANEL_DEPTH = 25;
|
||||
|
||||
public static void Start(PaymentBase.RefundWarningType warningType, Action onFinish)
|
||||
{
|
||||
if (warningType == PaymentBase.RefundWarningType.NONE)
|
||||
{
|
||||
onFinish.Call();
|
||||
return;
|
||||
}
|
||||
SystemText systemText = Data.SystemText;
|
||||
DialogBase dialogBase = UIManager.GetInstance().CreateDialogClose();
|
||||
dialogBase.SetPanelDepth(25);
|
||||
if (warningType == PaymentBase.RefundWarningType.WARNING)
|
||||
{
|
||||
dialogBase.SetButtonLayout(DialogBase.ButtonLayout.BlueBtn_CancelBtn);
|
||||
dialogBase.SetTitleLabel(systemText.Get("Shop_0215"));
|
||||
dialogBase.SetText(systemText.Get("Shop_0216"));
|
||||
dialogBase.SetButtonText(systemText.Get("Dia_BuyCrystal_004_Button"));
|
||||
dialogBase.onPushButton1 = delegate
|
||||
{
|
||||
onFinish.Call();
|
||||
};
|
||||
dialogBase.onPushButton2 = delegate
|
||||
{
|
||||
OnPaymentCancel();
|
||||
};
|
||||
dialogBase.onCloseWithoutSelect = delegate
|
||||
{
|
||||
OnPaymentCancel();
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
dialogBase.SetButtonLayout(DialogBase.ButtonLayout.OkBtn);
|
||||
dialogBase.SetTitleLabel(systemText.Get("Shop_0218"));
|
||||
dialogBase.SetText(systemText.Get("Shop_0217"));
|
||||
dialogBase.OnClose = delegate
|
||||
{
|
||||
OnPaymentCancel();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
private static void OnPaymentCancel()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user