添加参战防御塔功能(UI)

This commit is contained in:
SepComet
2026-03-04 20:36:05 +08:00
parent 298345fa17
commit a62309e8c1
25 changed files with 1160 additions and 20 deletions
@@ -0,0 +1,8 @@
namespace GeometryTD.UI
{
public class ParticipantAreaContext : UIContext
{
public RepoItemContext[] Items;
public int MaxCount;
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: dba2ecceff78486fb2a251e7c28ce9c0
timeCreated: 1772624131
@@ -6,5 +6,6 @@ namespace GeometryTD.UI
{
public CombineAreaContext CombineAreaContext;
public CompAreaContext CompAreaContext;
public ParticipantAreaContext ParticipantAreaContext;
}
}
@@ -0,0 +1,8 @@
namespace GeometryTD.UI
{
public enum RepoItemClickActionType : byte
{
OpenDetail = 0,
RemoveParticipant = 1
}
}
@@ -0,0 +1 @@
fileFormatVersion: 2`nguid: d3f0b6db2f8d4310b1f6c6f61d2075d1`nMonoImporter:`n externalObjects: {}`n serializedVersion: 2`n defaultReferences: []`n executionOrder: 0`n icon: {instanceID: 0}`n userData: `n assetBundleName: `n assetBundleVariant: `n
@@ -9,6 +9,7 @@ namespace GeometryTD.UI
public long InstanceId;
public bool CanDrag;
public float EnduranceRate01;
public RepoItemClickActionType ClickActionType;
public TowerCompSlotType ComponentSlotType;
public IconAreaContext IconAreaContext;
}