28 lines
1.2 KiB
C#
28 lines
1.2 KiB
C#
namespace SLSUtilities.General
|
||
{
|
||
/// <summary>
|
||
/// 框架预定义的 CommandContext 键常量。
|
||
/// 所有 Command 内部对 context 的读写均应引用此处的常量,消灭魔法字符串。
|
||
/// </summary>
|
||
public static class CommandContextKeys
|
||
{
|
||
/// <summary>当前命令作用的目标角色(CharacterBase)。</summary>
|
||
public const string Target = "Target";
|
||
|
||
/// <summary>本次抽牌操作实际抽到的牌列表(List<CardLogicBase>)。</summary>
|
||
public const string DrawnCards = "DrawnCards";
|
||
|
||
/// <summary>本次弃牌操作弃掉的牌列表(List<CardLogicBase>)。</summary>
|
||
public const string DiscardedCards = "DiscardedCards";
|
||
|
||
/// <summary>本次消耗操作消耗的牌列表(List<CardLogicBase>)。</summary>
|
||
public const string ExhaustedCards = "ExhaustedCards";
|
||
|
||
/// <summary>本次伤害命令实际造成的伤害量(int)。</summary>
|
||
public const string DamageDealt = "DamageDealt";
|
||
|
||
/// <summary>本次治疗命令实际恢复的血量(int)。</summary>
|
||
public const string HealingDone = "HealingDone";
|
||
}
|
||
}
|