This commit is contained in:
2026-04-30 19:33:16 +08:00
commit fb2252f688
556 changed files with 69721 additions and 0 deletions
@@ -0,0 +1,10 @@
namespace GeometryTD.UI
{
public class CombatFinishFormContext : UIContext
{
public string EnemyKilledText;
public string GoldGainedText;
public RepoItemContext[] RewardItems;
public bool CanReturn;
}
}
@@ -0,0 +1,13 @@
namespace GeometryTD.UI
{
public class CombatInfoFormContext : UIContext
{
public string LevelMetaText;
public string LevelPhaseText;
public string CoinText;
public string BaseHpText;
public string EnemyHpRateText;
public bool CanPause;
public bool CanEnd;
}
}
@@ -0,0 +1,10 @@
namespace GeometryTD.UI
{
public enum CombatSelectActionType : byte
{
None = 0,
BuildTower = 1,
UpgradeTower = 2,
DestroyTower = 3
}
}
@@ -0,0 +1,15 @@
using UnityEngine;
namespace GeometryTD.UI
{
public class CombatSelectFormContext : UIContext
{
public bool IsVisible;
public Vector2 ScreenPosition;
public bool ShowBuildArea;
public bool ShowFuncArea;
public TowerSelectItemContext[] BuildItems;
public TowerSelectItemContext UpgradeItem;
public TowerSelectItemContext DestroyItem;
}
}
@@ -0,0 +1,15 @@
using UnityEngine;
namespace GeometryTD.UI
{
public class TowerSelectItemContext : UIContext
{
public Sprite Icon;
public string PriceText;
public bool IsVisible;
public bool IsInteractable;
public CombatSelectActionType ActionType;
public int ActionIndex;
public TowerIconAreaContext TowerIconAreaContext;
}
}