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,21 @@
using GeometryTD.DataTable;
using GeometryTD.Definition;
namespace GeometryTD.CustomComponent
{
public readonly struct EnemyDropContext
{
public EnemyDropContext(DREnemy enemy, int displayPhaseIndex, LevelThemeType themeType)
{
Enemy = enemy;
DisplayPhaseIndex = displayPhaseIndex;
ThemeType = themeType;
}
public DREnemy Enemy { get; }
public int DisplayPhaseIndex { get; }
public LevelThemeType ThemeType { get; }
}
}
@@ -0,0 +1,22 @@
using GeometryTD.Definition;
namespace GeometryTD.CustomComponent
{
public readonly struct EnemyDropResult
{
public static EnemyDropResult Empty => new(0, 0, null);
public EnemyDropResult(int coin, int gold, TowerCompItemData lootItem)
{
Coin = coin;
Gold = gold;
LootItem = lootItem;
}
public int Coin { get; }
public int Gold { get; }
public TowerCompItemData LootItem { get; }
}
}