public static string GetString(this AbilityObject.AbilityType abilityType) { return(abilityType switch { AbilityObject.AbilityType.Activated => "Activated Ability", AbilityObject.AbilityType.Triggered => "Triggered Ability", _ => throw new NotImplementedException() });
public GenerateAbilityObjectEvent(OID source, ResolutionAbility resolution, AbilityObject.AbilityType abilityType) : base(source) { this.resolution = resolution; this.abilityType = abilityType; }