Files
SoulliesOfficial c3b1561375 更新
2026-04-01 12:23:27 -04:00

28 lines
787 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace Continentis.MainGame.Saving
{
/// <summary>
/// 单张卡牌的存档快照。
/// 只记录能够重建运行时 CardInstance 所需的最小信息。
/// </summary>
public class CardSave
{
/// <summary>
/// 卡牌数据 DataID格式CardData_ModName_CardName
/// 通过 ModManager.GetData&lt;CardData&gt;(cardDataID) 还原。
/// </summary>
public string cardDataID;
/// <summary>
/// 升级层数0 = 未升级)。
/// </summary>
public int upgradeLevel;
public CardSave() { }
public CardSave(string cardDataID, int upgradeLevel = 0)
{
this.cardDataID = cardDataID;
this.upgradeLevel = upgradeLevel;
}
}
}