40 lines
1.2 KiB
C#
40 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace GeometryTD.Definition
|
|
{
|
|
/// <summary>
|
|
/// 玩家背包聚合数据。
|
|
/// </summary>
|
|
[Serializable]
|
|
public sealed class BackpackInventoryData
|
|
{
|
|
/// <summary>
|
|
/// 背包金币。
|
|
/// </summary>
|
|
public int Gold { get; set; }
|
|
|
|
/// <summary>
|
|
/// 背包中的枪口组件实例。
|
|
/// </summary>
|
|
public List<MuzzleCompItemData> MuzzleComponents { get; set; } = new List<MuzzleCompItemData>();
|
|
|
|
/// <summary>
|
|
/// 背包中的轴承组件实例。
|
|
/// </summary>
|
|
public List<BearingCompItemData> BearingComponents { get; set; } = new List<BearingCompItemData>();
|
|
|
|
/// <summary>
|
|
/// 背包中的底座组件实例。
|
|
/// </summary>
|
|
public List<BaseCompItemData> BaseComponents { get; set; } = new List<BaseCompItemData>();
|
|
|
|
/// <summary>
|
|
/// 背包中的防御塔实例。
|
|
/// </summary>
|
|
public List<TowerItemData> Towers { get; set; } = new List<TowerItemData>();
|
|
|
|
public List<long> ParticipantTowerInstanceIds { get; set; } = new List<long>();
|
|
}
|
|
}
|