From bc7939fcd42844380857e6628902652b8c671053 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 19 Jul 2024 22:41:57 +0000 Subject: [PATCH] Generated from 99f6fa8f1b95bdf0d8920e505b84f5159644e18c --- api/InscryptionAPI.Card.CardExtensions.html | 56 +++++++++++++++++++++ index.json | 2 +- manifest.json | 2 +- xrefmap.yml | 16 ++++++ 4 files changed, 74 insertions(+), 2 deletions(-) diff --git a/api/InscryptionAPI.Card.CardExtensions.html b/api/InscryptionAPI.Card.CardExtensions.html index 6218d7ec..118680ea 100644 --- a/api/InscryptionAPI.Card.CardExtensions.html +++ b/api/InscryptionAPI.Card.CardExtensions.html @@ -2339,6 +2339,62 @@
Returns
+ +

GetShieldCount<T>(PlayableCard)

+
+
+
Declaration
+
+
public static int GetShieldCount<T>(this PlayableCard card)
+    where T : DamageShieldBehaviour
+
+
Parameters
+ + + + + + + + + + + + + + + +
TypeNameDescription
DiskCardGame.PlayableCardcard
+
Returns
+ + + + + + + + + + + + + +
TypeDescription
System.Int32
+
Type Parameters
+ + + + + + + + + + + + + +
NameDescription
T

GetStatIconHealthBuffs(PlayableCard)

Gets the health adjustment given by a PlayableCard's Stat Icon.

diff --git a/index.json b/index.json index 6a5ada6e..90e28756 100644 --- a/index.json +++ b/index.json @@ -142,7 +142,7 @@ "api/InscryptionAPI.Card.CardExtensions.html": { "href": "api/InscryptionAPI.Card.CardExtensions.html", "title": "Class CardExtensions | InscryptionAPI", - "keywords": "Class CardExtensions Inheritance System.Object CardExtensions Namespace : InscryptionAPI.Card Assembly : InscryptionAPI.dll Syntax public static class CardExtensions Methods AddAbilities(CardInfo, Ability[]) Adds any number of abilities to the card. Abilities can be added multiple times. Declaration public static CardInfo AddAbilities(this CardInfo info, params Ability[] abilities) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.Ability [] abilities The abilities to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AddAppearances(CardInfo, CardAppearanceBehaviour.Appearance[]) Adds any number of appearance behaviors to the card. Duplicate appearance behaviors are ignored. Declaration public static CardInfo AddAppearances(this CardInfo info, params CardAppearanceBehaviour.Appearance[] appearances) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardAppearanceBehaviour.Appearance [] appearances The appearances to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AddDecal(CardInfo, String[]) Adds any number of decals to the card. Duplicate decals are ignored. Declaration public static CardInfo AddDecal(this CardInfo info, params string[] decals) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String [] decals The paths to the .png files containing the decals (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AddDecal(CardInfo, Texture[]) Adds any number of decals to the card. Duplicate decals are ignored. Declaration public static CardInfo AddDecal(this CardInfo info, params Texture[] decals) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture [] decals The decals to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AddMetaCategories(CardInfo, CardMetaCategory[]) Adds any number of metacategories to the card. Duplicate metacategories are ignored. Declaration public static CardInfo AddMetaCategories(this CardInfo info, params CardMetaCategory[] categories) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardMetaCategory [] categories The categories to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AddShieldCount(PlayableCard, Int32, Ability, Boolean) Increases the amount of shields a specific ability is currently giving. Declaration public static void AddShieldCount(this PlayableCard card, int amount, Ability ability, bool updateDisplay = true) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. System.Int32 amount How many shields to add. DiskCardGame.Ability ability The shield-giving ability to add more shields to. System.Boolean updateDisplay Whether to update the card's display, meaning sigil stack numbers and any shield effects. AddShieldCount(PlayableCard, Int32, Boolean) Increases the amount of shields the card has. Affects the internal counter; does not add or remove shield sigil stacks. Declaration public static void AddShieldCount(this PlayableCard card, int amount, bool updateDisplay = true) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. System.Int32 amount How many shields to add. System.Boolean updateDisplay Whether to update the card's display, meaning sigil stack numbers and any shield effects. AddShieldCount(PlayableCard, Int32, Boolean) Increases the amount of shields a specific ability's AbilityBehaviour is currently giving. Declaration public static void AddShieldCount(this PlayableCard card, int amount, bool updateDisplay = true) where T : DamageShieldBehaviour Parameters Type Name Description DiskCardGame.PlayableCard card System.Int32 amount System.Boolean updateDisplay Type Parameters Name Description T AddSpecialAbilities(CardInfo, SpecialTriggeredAbility[]) Adds any number of special abilities to the card. Duplicate special abilities are ignored. Declaration public static CardInfo AddSpecialAbilities(this CardInfo info, params SpecialTriggeredAbility[] abilities) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.SpecialTriggeredAbility [] abilities The abilities to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AddTemporaryMods(PlayableCard, CardModificationInfo[]) Declaration public static void AddTemporaryMods(this PlayableCard card, params CardModificationInfo[] mods) Parameters Type Name Description DiskCardGame.PlayableCard card DiskCardGame.CardModificationInfo [] mods AddTraits(CardInfo, Trait[]) Adds any number of traits to the card. Duplicate traits are ignored. Declaration public static CardInfo AddTraits(this CardInfo info, params Trait[] traits) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.Trait [] traits The traits to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AddTribes(CardInfo, Tribe[]) Adds any number of tribes to the card. Duplicate tribes are ignored. Declaration public static CardInfo AddTribes(this CardInfo info, params Tribe[] tribes) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.Tribe [] tribes The tribes to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AllAbilities(PlayableCard) Retrieve a list of all abilities that exist on the PlayableCard. This will retrieve all Abilities from both TemporaryMods and from the underlying CardInfo object. Declaration public static List AllAbilities(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard The PlayableCard to access. Returns Type Description List < DiskCardGame.Ability > A list of Abilities from the PlayableCard and underlying CardInfo object. AllAbilities(PlayableCard, Boolean) A variant of PlayableCard.AllAbilities that can account for negated abilities in the PlayableCard's TemporaryMods. Declaration public static List AllAbilities(this PlayableCard playableCard, bool accountForNegation) Parameters Type Name Description DiskCardGame.PlayableCard playableCard The PlayableCard to access. System.Boolean accountForNegation Whether or not to check TemporaryMods for negated abilities. Returns Type Description List < DiskCardGame.Ability > A list of Abilities from the PlayableCard and underlying CardInfo object AllCardModificationInfos(PlayableCard) Retrieve a list of all CardModificationInfos that exist on the PlayableCard. This will retrieve all mods from TemporaryMods and the underlying CardInfo.Mods. Declaration public static List AllCardModificationInfos(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard The PlayableCard to access. Returns Type Description List < DiskCardGame.CardModificationInfo > A list of CardModificationInfos from the PlayableCard and underlying CardInfo object. AllSpecialAbilities(PlayableCard) Retrieve a list of all special triggered abilities that exist on the PlayableCard. This will retrieve all SpecialTriggeredAbility from both TemporaryMods and from the underlying CardInfo object. Declaration public static List AllSpecialAbilities(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard The PlayableCard to access. Returns Type Description List < DiskCardGame.SpecialTriggeredAbility > A list of SpecialTriggeredAbility from the PlayableCard and underlying CardInfo object. BloodCost(PlayableCard) Returns the Blood cost of a card. This function can be overridden if someone wants to inject new cost logic into a card's Blood cost. Declaration public static int BloodCost(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description System.Int32 BonesCost(PlayableCard) Returns the Bone cost of a card. This function can be overridden if someone wants to inject new cost logic into a card's Bone cost. Declaration public static int BonesCost(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description System.Int32 CardByName(IEnumerable, String) Gets the first card matching the given name, or null if it does not exist. Declaration public static CardInfo CardByName(this IEnumerable cards, string name) Parameters Type Name Description System.Collections.IEnumerable < DiskCardGame.CardInfo > cards An enumeration of Inscryption cards. System.String name The name to search for (case sensitive). Returns Type Description DiskCardGame.CardInfo The first matching card, or null if no match. CreateBlueprint(CardInfo) Creates a basic EncounterBlueprintData.CardBlueprint based off the CardInfo object. Declaration public static EncounterBlueprintData.CardBlueprint CreateBlueprint(this CardInfo cardInfo) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to create the blueprint with. Returns Type Description DiskCardGame.EncounterBlueprintData.CardBlueprint The CardBlueprint object that can be used when creating EncounterData. GemsCost(PlayableCard) Returns the Gem cost of a card as a list. This function can be overridden if someone wants to inject new cost logic into a card's Gem cost. Declaration public static List GemsCost(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description List < DiskCardGame.GemType > GetAbilitiesFromAllMods(PlayableCard) Retrieve a list of Ability that exist in TemporaryMods and the underlying CardInfo.Mods lists. Declaration public static List GetAbilitiesFromAllMods(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard The PlayableCard to access. Returns Type Description List < DiskCardGame.Ability > A list of Ability from the PlayableCard and underlying CardInfo object. GetAbilityStacks(PlayableCard, Ability) Gets the number of Ability stacks a card has. Declaration public static int GetAbilityStacks(this PlayableCard card, Ability ability) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. DiskCardGame.Ability ability The Ability to check for. Returns Type Description System.Int32 The number of Ability stacks the card has. GetCustomCardCosts(Card) Declaration public static List GetCustomCardCosts(this Card card) Parameters Type Name Description DiskCardGame.Card card Returns Type Description List < CustomCardCost > GetCustomCost(CardInfo, CardCostManager.FullCardCost) Declaration public static int GetCustomCost(this CardInfo cardInfo, CardCostManager.FullCardCost fullCardCost) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardCostManager.FullCardCost fullCardCost Returns Type Description System.Int32 GetCustomCost(CardInfo, String, Boolean) Declaration public static int GetCustomCost(this CardInfo cardInfo, string costName, bool canBeNegative = false) Parameters Type Name Description DiskCardGame.CardInfo cardInfo System.String costName System.Boolean canBeNegative Returns Type Description System.Int32 GetCustomCost(PlayableCard, CardCostManager.FullCardCost) Declaration public static int GetCustomCost(this PlayableCard card, CardCostManager.FullCardCost fullCardCost) Parameters Type Name Description DiskCardGame.PlayableCard card CardCostManager.FullCardCost fullCardCost Returns Type Description System.Int32 GetCustomCost(PlayableCard, String, Boolean) Declaration public static int GetCustomCost(this PlayableCard card, string costName, bool canBeNegative = false) Parameters Type Name Description DiskCardGame.PlayableCard card System.String costName System.Boolean canBeNegative Returns Type Description System.Int32 GetCustomCost(CardInfo, Boolean) Declaration public static int GetCustomCost(this CardInfo cardInfo, bool canBeNegative = false) where T : CustomCardCost Parameters Type Name Description DiskCardGame.CardInfo cardInfo System.Boolean canBeNegative Returns Type Description System.Int32 Type Parameters Name Description T GetCustomCost(PlayableCard, Boolean) Declaration public static int GetCustomCost(this PlayableCard card, bool canBeNegative = false) where T : CustomCardCost Parameters Type Name Description DiskCardGame.PlayableCard card System.Boolean canBeNegative Returns Type Description System.Int32 Type Parameters Name Description T GetCustomCostAmount(CardInfo, String) Declaration public static int GetCustomCostAmount(this CardInfo cardInfo, string costName) Parameters Type Name Description DiskCardGame.CardInfo cardInfo System.String costName Returns Type Description System.Int32 GetCustomCostAmount(PlayableCard, String) Variant of GetCustomCost that automatically retrieves the given cost's canBeNegative value. Declaration public static int GetCustomCostAmount(this PlayableCard card, string costName) Parameters Type Name Description DiskCardGame.PlayableCard card System.String costName Returns Type Description System.Int32 GetCustomCostAmount(CardInfo) Declaration public static int GetCustomCostAmount(this CardInfo cardInfo) where T : CustomCardCost Parameters Type Name Description DiskCardGame.CardInfo cardInfo Returns Type Description System.Int32 Type Parameters Name Description T GetCustomCostAmount(PlayableCard) Declaration public static int GetCustomCostAmount(this PlayableCard card) where T : CustomCardCost Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description System.Int32 Type Parameters Name Description T GetCustomCosts(CardInfo) Declaration public static List GetCustomCosts(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description List < CardCostManager.FullCardCost > GetEmissiveAltPortrait(CardInfo) Declaration public static Sprite GetEmissiveAltPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description Sprite GetEmissiveBrokenShieldPortrait(CardInfo) Declaration public static Sprite GetEmissiveBrokenShieldPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description Sprite GetEmissivePortrait(CardInfo) Declaration public static Sprite GetEmissivePortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description Sprite GetEmissiveSacrificablePortrait(CardInfo) Declaration public static Sprite GetEmissiveSacrificablePortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description Sprite GetEmissiveSteelTrapPortrait(CardInfo) Declaration public static Sprite GetEmissiveSteelTrapPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description Sprite GetExtendedProperty(CardInfo, String) Gets a custom property value from the card. Declaration public static string GetExtendedProperty(this CardInfo info, string propertyName) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String propertyName The name of the property to get the value of. Returns Type Description System.String The custom property value as a string. If it doesn't exist, returns null. GetExtendedPropertyAsBool(CardInfo, String) Gets a custom property as a nullable boolean. Declaration public static bool? GetExtendedPropertyAsBool(this CardInfo info, string propertyName) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String propertyName Property name to get value of. Returns Type Description System.Nullable < System.Boolean > Returns the value of the property as a boolean or null if it didn't exist or couldn't be parsed as boolean. GetExtendedPropertyAsFloat(CardInfo, String) Gets a custom property as a nullable float. Declaration public static float? GetExtendedPropertyAsFloat(this CardInfo info, string propertyName) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String propertyName Property name to get value of. Returns Type Description System.Nullable < System.Single > Returns the value of the property as a float or null if it didn't exist or couldn't be parsed as float. GetExtendedPropertyAsInt(CardInfo, String) Gets a custom property as a nullable int. Declaration public static int? GetExtendedPropertyAsInt(this CardInfo info, string propertyName) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String propertyName Property name to get value of. Returns Type Description System.Nullable < System.Int32 > Returns the value of the property as an int or null if it didn't exist or couldn't be parsed as int. GetModPrefix(CardInfo) Gets the card name prefix for this card. Declaration public static string GetModPrefix(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description System.String The mod prefix for this card, or null if it wasn't found/is from the base game. GetModTag(CardInfo) Gets the GUID of the mod that created this card. Declaration public static string GetModTag(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description System.String The GUID of the mod that created this card or null if it wasn't found/is from the base game. GetPixelAlternatePortrait(CardInfo) Declaration public static Sprite GetPixelAlternatePortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description Sprite GetPixelPortrait(CardInfo) Declaration public static Sprite GetPixelPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description Sprite GetPlayableCard(CardInfo) Gets a PlayableCards using this specific CardInfo. Inscryption often clones CardInfos and sometimes they're reused, meaning there can be more than 1 card using the same CardInfo object. Declaration public static PlayableCard GetPlayableCard(this CardInfo cardInfo) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to check for. Returns Type Description DiskCardGame.PlayableCard The PlayableCard with the specified CardInfo. Checks the board, the player's hand and miscellaneous card displays. GetStatIconHealthBuffs(PlayableCard) Gets the health adjustment given by a PlayableCard's Stat Icon. Declaration public static int GetStatIconHealthBuffs(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. Returns Type Description System.Int32 How much Health the Stat Icon gives. GetTotalShields(PlayableCard) Gets the number of shields the target card has. Each shield negates one damaging hit. Declaration public static int GetTotalShields(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. Returns Type Description System.Int32 The number of shields the card has. GetTransformerCardId(CardInfo) Gets the string value of the extended property TransformerCardId. Can be null. Declaration public static string GetTransformerCardId(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description System.String The string value of the extended property TransformerCardId. GetTransformerCardId(PlayableCard) Gets the string value of the extended property TransformerCardId. Can be null. Declaration public static string GetTransformerCardId(this PlayableCard item) Parameters Type Name Description DiskCardGame.PlayableCard item PlayableCard to access. Returns Type Description System.String The string value of the extended property TransformerCardId. HasAllAbilities(CardInfo, Ability[]) Checks if the CardInfo has all of the given Abilities. Declaration public static bool HasAllAbilities(this CardInfo cardInfo, params Ability[] abilities) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Ability [] abilities The Abilities to check for. Returns Type Description System.Boolean Returns true if cardInfo has all of the given Abilities. HasAllAbilities(PlayableCard, Ability[]) Check if the PlayableCard has all of the given abilities. A condensed version of CardInfo.HasAllAbilities . Declaration public static bool HasAllAbilities(this PlayableCard playableCard, params Ability[] abilities) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Ability [] abilities The Abilities to check for. Returns Type Description System.Boolean Returns true if playableCard has all of the given Abilities. HasAllSpecialAbilities(CardInfo, SpecialTriggeredAbility[]) Checks if the CardInfo has all of the specified SpecialTriggeredAbilities. Declaration public static bool HasAllSpecialAbilities(this CardInfo cardInfo, params SpecialTriggeredAbility[] specialAbilities) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.SpecialTriggeredAbility [] specialAbilities The SpecialTriggeredAbilities to check for. Returns Type Description System.Boolean Returns true if cardInfo has all of the specified SpecialTriggeredAbilities. HasAllSpecialAbilities(PlayableCard, SpecialTriggeredAbility[]) Checks if the PlayableCard has all of the specified SpecialTriggeredAbilities. A condensed version of CardInfo.HasAllSpecialAbilities . Declaration public static bool HasAllSpecialAbilities(this PlayableCard playableCard, params SpecialTriggeredAbility[] specialAbilities) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.SpecialTriggeredAbility [] specialAbilities The SpecialTriggeredAbilities to check for. Returns Type Description System.Boolean Returns true if playableCard has all of the specified SpecialTriggeredAbilities. HasAllTraits(CardInfo, Trait[]) Checks if the CardInfo has all of the specified Traits. Declaration public static bool HasAllTraits(this CardInfo cardInfo, params Trait[] traits) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Trait [] traits The Traits to check for. Returns Type Description System.Boolean Returns true if cardInfo has all of the specified Traits. HasAllTraits(PlayableCard, Trait[]) Checks if the PlayableCard has all of the specified Traits. Declaration public static bool HasAllTraits(this PlayableCard playableCard, params Trait[] traits) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Trait [] traits The Traits to check for. Returns Type Description System.Boolean Returns true if playableCard has all of the specified Traits. HasAlternatePortrait(CardInfo) Declaration public static bool HasAlternatePortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasAlternatePortrait(PlayableCard) Declaration public static bool HasAlternatePortrait(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description System.Boolean HasAnyOfAbilities(CardInfo, Ability[]) Checks if the CardInfo has any of the specified Abilities. Declaration public static bool HasAnyOfAbilities(this CardInfo cardInfo, params Ability[] abilities) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Ability [] abilities The Abilities to check for. Returns Type Description System.Boolean Returns true if cardInfo has at least one of the given Abilities. HasAnyOfAbilities(PlayableCard, Ability[]) Check if the PlayableCard has any of the specified Abilities. A condensed version of CardInfo.HasAnyOfAbilities . Declaration public static bool HasAnyOfAbilities(this PlayableCard playableCard, params Ability[] abilities) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Ability [] abilities The Abilities to check for. Returns Type Description System.Boolean Returns true if playableCard has at least one of the given Abilities. HasAnyOfCardMetaCategories(CardInfo, CardMetaCategory[]) Checks if the CardInfo has any of the specified CardMetaCategories. Declaration public static bool HasAnyOfCardMetaCategories(this CardInfo cardInfo, params CardMetaCategory[] metaCategories) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.CardMetaCategory [] metaCategories The CardMetaCategories to check for. Returns Type Description System.Boolean Returns true if the card has at least one of the specified CardMetaCategories. HasAnyOfSpecialAbilities(CardInfo, SpecialTriggeredAbility[]) Checks if the CardInfo has any of the specified SpecialTriggeredAbilities. Declaration public static bool HasAnyOfSpecialAbilities(this CardInfo cardInfo, params SpecialTriggeredAbility[] specialAbilities) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.SpecialTriggeredAbility [] specialAbilities The SpecialTriggeredAbilities to check for. Returns Type Description System.Boolean Returns true if cardInfo has at least one of the specified SpecialTriggeredAbilities. HasAnyOfSpecialAbilities(PlayableCard, SpecialTriggeredAbility[]) Checks if the PlayableCard has any of the specified SpecialTriggeredAbilities. A condensed version of CardInfo.HasAnyOfSpecialAbilities . Declaration public static bool HasAnyOfSpecialAbilities(this PlayableCard playableCard, params SpecialTriggeredAbility[] specialAbilities) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.SpecialTriggeredAbility [] specialAbilities The SpecialTriggeredAbilities to check for. Returns Type Description System.Boolean Returns true if playableCard has at least one of the specified SpecialTriggeredAbilities. HasAnyOfTraits(CardInfo, Trait[]) Checks if the CardInfo has any of the specified Traits. Declaration public static bool HasAnyOfTraits(this CardInfo cardInfo, params Trait[] traits) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Trait [] traits The Traits to check for. Returns Type Description System.Boolean Returns true if cardInfo has at least one of the specified Traits. HasAnyOfTraits(PlayableCard, Trait[]) Checks if the PlayableCard has any of the specified Traits. Declaration public static bool HasAnyOfTraits(this PlayableCard playableCard, params Trait[] traits) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Trait [] traits The Traits to check for. Returns Type Description System.Boolean Returns true if playableCard has at least one of the specified Traits. HasBrokenShieldPortrait(CardInfo) Declaration public static bool HasBrokenShieldPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasCardMetaCategory(CardInfo, CardMetaCategory) Checks if the CardInfo has a specific CardMetaCategory. Declaration public static bool HasCardMetaCategory(this CardInfo cardInfo, CardMetaCategory metaCategory) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.CardMetaCategory metaCategory Returns Type Description System.Boolean Returns true if the card is does not have the specified CardMetaCategory. HasCustomCost(CardInfo, CardCostManager.FullCardCost) Declaration public static bool HasCustomCost(this CardInfo info, CardCostManager.FullCardCost customCost) Parameters Type Name Description DiskCardGame.CardInfo info CardCostManager.FullCardCost customCost Returns Type Description System.Boolean HasOpposingCard(PlayableCard) Check if the PlayableCard has a card opposing it in the opposite slot. Also acts as a null check if this PlayableCard is in a slot. Declaration public static bool HasOpposingCard(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. Returns Type Description System.Boolean Returns true if a card exists in the opposing slot. HasPixelAlternatePortrait(CardInfo) Declaration public static bool HasPixelAlternatePortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasPixelBrokenShieldPortrait(CardInfo) Declaration public static bool HasPixelBrokenShieldPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasPixelSacrificablePortrait(CardInfo) Declaration public static bool HasPixelSacrificablePortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasPixelSteelTrapPortrait(CardInfo) Declaration public static bool HasPixelSteelTrapPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasSacrificablePortrait(CardInfo) Declaration public static bool HasSacrificablePortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasSpecialAbility(CardInfo, SpecialTriggeredAbility) Checks if the CardInfo has a specific SpecialTriggeredAbility. A condensed version of cardInfo.SpecialAbilities.Contains(ability) . Declaration public static bool HasSpecialAbility(this CardInfo cardInfo, SpecialTriggeredAbility ability) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.SpecialTriggeredAbility ability The specialTriggeredAbility to check for. Returns Type Description System.Boolean Returns true if the specialTriggeredAbility does exist. HasSpecialAbility(PlayableCard, SpecialTriggeredAbility) Check the PlayableCard having a specific SpecialTriggeredAbility. A condensed version of playableCard.Info.SpecialAbilities.Contains(ability) . Declaration public static bool HasSpecialAbility(this PlayableCard playableCard, SpecialTriggeredAbility ability) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.SpecialTriggeredAbility ability The specialTriggeredAbility to check for. Returns Type Description System.Boolean Returns true if the specialTriggeredAbility does exist. HasSteelTrapPortrait(CardInfo) Declaration public static bool HasSteelTrapPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasTrait(PlayableCard, Trait) Checks if the card has a specific Trait. Declaration public static bool HasTrait(this PlayableCard playableCard, Trait trait) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Trait trait The trait to check for. Returns Type Description System.Boolean Returns true if the card has the specified trait. IsAffectedByTidalLock(CardInfo) Checks if this card info will be killed by the effect of Tidal Lock. Declaration public static bool IsAffectedByTidalLock(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description System.Boolean True if the card info is affected by Tidal Lock. IsAffectedByTidalLock(PlayableCard) Checks if this card will be killed by the effect of Tidal Lock. Declaration public static bool IsAffectedByTidalLock(this PlayableCard item) Parameters Type Name Description DiskCardGame.PlayableCard item PlayableCard to access. Returns Type Description System.Boolean True if the card is affected by Tidal Lock. IsBaseGameCard(CardInfo) Indicates if this is a base game card or not. Declaration public static bool IsBaseGameCard(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description System.Boolean True of this card came from the base game; false otherwise. IsGemified(PlayableCard) Declaration public static bool IsGemified(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description System.Boolean IsNotOfTribe(CardInfo, Tribe) Checks if the CardInfo does not belong to a specific Tribe. Declaration public static bool IsNotOfTribe(this CardInfo cardInfo, Tribe tribe) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Tribe tribe The tribe to check for. Returns Type Description System.Boolean Returns true if the card is not of the specified tribe. IsNotOfTribe(PlayableCard, Tribe) Checks if the PlayableCard is not of a specified Tribe. Declaration public static bool IsNotOfTribe(this PlayableCard playableCard, Tribe tribe) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Tribe tribe The tribe to check for. Returns Type Description System.Boolean Returns true if the card is not of the specified tribe. IsOfTribe(PlayableCard, Tribe) Checks if the PlayableCard is of a specified Tribe. Declaration public static bool IsOfTribe(this PlayableCard playableCard, Tribe tribe) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Tribe tribe The tribe to check for. Returns Type Description System.Boolean Returns true if the card is of the specified tribe. IsPelt(CardInfo) Declaration public static bool IsPelt(this CardInfo cardInfo) Parameters Type Name Description DiskCardGame.CardInfo cardInfo Returns Type Description System.Boolean IsPlayerCard(PlayableCard) Checks if the card is not the opponent's card. Declaration public static bool IsPlayerCard(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. Returns Type Description System.Boolean Returns true if card is not the opponent's card. IsTerrain(CardInfo) Declaration public static bool IsTerrain(this CardInfo cardInfo) Parameters Type Name Description DiskCardGame.CardInfo cardInfo Returns Type Description System.Boolean IsUsingBlueGem(PlayableCard) Declaration public static bool IsUsingBlueGem(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description System.Boolean LacksAbility(CardInfo, Ability) Checks if the CardInfo does not have a specific Ability. Declaration public static bool LacksAbility(this CardInfo cardInfo, Ability ability) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Ability ability The ability to check for. Returns Type Description System.Boolean Returns true if the ability does not exist. LacksAbility(CardModificationInfo, Ability) Checks if the CardModificationInfo does not have a specific Ability. Declaration public static bool LacksAbility(this CardModificationInfo mod, Ability ability) Parameters Type Name Description DiskCardGame.CardModificationInfo mod CardModificationInfo to access. DiskCardGame.Ability ability The ability to check for. Returns Type Description System.Boolean Returns true if the ability does not exist. LacksAbility(PlayableCard, Ability) Check the PlayableCard not having a specific Ability. Declaration public static bool LacksAbility(this PlayableCard playableCard, Ability ability) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Ability ability The ability to check for. Returns Type Description System.Boolean Returns true if the ability does not exist. LacksAllAbilities(CardInfo, Ability[]) Checks if the CardInfo has none of the specified Abilities. Declaration public static bool LacksAllAbilities(this CardInfo cardInfo, params Ability[] abilities) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Ability [] abilities The Abilities to check for. Returns Type Description System.Boolean Returns true if cardInfo has none of the given Abilities. LacksAllAbilities(PlayableCard, Ability[]) Checks if the PlayableCard has none of the specified Abilities. A condensed version of CardInfo.LacksAllSpecialAbilities . Declaration public static bool LacksAllAbilities(this PlayableCard playableCard, params Ability[] abilities) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Ability [] abilities The Abilities to check for. Returns Type Description System.Boolean Returns true if playableCard has none of the given Abilities. LacksAllCardMetaCategories(CardInfo, CardMetaCategory[]) Checks if the CardInfo has none of the specified CardMetaCategories. Declaration public static bool LacksAllCardMetaCategories(this CardInfo cardInfo, params CardMetaCategory[] metaCategories) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.CardMetaCategory [] metaCategories The CardMetaCategories to check for. Returns Type Description System.Boolean Returns true if the card has none of the specified CardMetaCategories. LacksAllSpecialAbilities(CardInfo, SpecialTriggeredAbility[]) Checks if the CardInfo has none of the specified SpecialTriggeredAbilities. Declaration public static bool LacksAllSpecialAbilities(this CardInfo cardInfo, params SpecialTriggeredAbility[] specialAbilities) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.SpecialTriggeredAbility [] specialAbilities The SpecialTriggeredAbilitiess to check for. Returns Type Description System.Boolean Returns true if cardInfo has none of the specified SpecialTriggeredAbilities. LacksAllSpecialAbilities(PlayableCard, SpecialTriggeredAbility[]) Checks if the PlayableCard has none of the specified SpecialTriggeredAbilities. A condensed version of CardInfo.LacksAllSpecialAbilities . Declaration public static bool LacksAllSpecialAbilities(this PlayableCard playableCard, params SpecialTriggeredAbility[] specialAbilities) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.SpecialTriggeredAbility [] specialAbilities The SpecialTriggeredAbilitiess to check for. Returns Type Description System.Boolean Returns true if playableCard has none of the specified SpecialTriggeredAbilities. LacksAllTraits(CardInfo, Trait[]) Checks if the CardInfo has none of the specified Traits. Declaration public static bool LacksAllTraits(this CardInfo cardInfo, params Trait[] traits) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Trait [] traits The Traits to check for. Returns Type Description System.Boolean Returns true if cardInfo has none of the specified Traits. LacksAllTraits(PlayableCard, Trait[]) Checks if the PlayableCard has none of the specified Traits. Declaration public static bool LacksAllTraits(this PlayableCard playableCard, params Trait[] traits) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Trait [] traits The Traits to check for. Returns Type Description System.Boolean Returns true if playableCard has none of the specified Traits. LacksCardMetaCategory(CardInfo, CardMetaCategory) Checks if the CardInfo does not have a specific CardMetaCategory. Declaration public static bool LacksCardMetaCategory(this CardInfo cardInfo, CardMetaCategory metaCategory) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.CardMetaCategory metaCategory The CardMetaCategory to check for. Returns Type Description System.Boolean Returns true if the card is does not have the specified CardMetaCategory. LacksSpecialAbility(CardInfo, SpecialTriggeredAbility) Checks if the CardInfo does not have a specific SpecialTriggeredAbility. Declaration public static bool LacksSpecialAbility(this CardInfo cardInfo, SpecialTriggeredAbility ability) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.SpecialTriggeredAbility ability The specialTriggeredAbility to check for. Returns Type Description System.Boolean Returns true if the specialTriggeredAbility does not exist. LacksSpecialAbility(PlayableCard, SpecialTriggeredAbility) Check the PlayableCard not having a specific SpecialTriggeredAbility. A condensed version of !playableCard.Info.SpecialAbilities.Contains(ability) . Declaration public static bool LacksSpecialAbility(this PlayableCard playableCard, SpecialTriggeredAbility ability) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.SpecialTriggeredAbility ability The specialTriggeredAbility to check for. Returns Type Description System.Boolean Returns true if the specialTriggeredAbility does not exist. LacksTrait(CardInfo, Trait) Checks if the CardInfo does not have a specific Trait. Declaration public static bool LacksTrait(this CardInfo cardInfo, Trait trait) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Trait trait The Trait to check for. Returns Type Description System.Boolean Returns true if the card is does not have the specified Trait. LacksTrait(PlayableCard, Trait) Checks if the card does not have a specific Trait. Declaration public static bool LacksTrait(this PlayableCard playableCard, Trait trait) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Trait trait The trait to check for. Returns Type Description System.Boolean Returns true if the card does not have the specified trait. ModPrefixIs(CardInfo, String) Checks whether the card's mod prefix is equal to the given string. Declaration public static bool ModPrefixIs(this CardInfo info, string prefixToMatch) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String prefixToMatch The prefix to check for. Returns Type Description System.Boolean True if the CardInfo's mod prefix equals prefixToMatch. NotDead(PlayableCard) Checks if the card is not null and not Dead. Declaration public static bool NotDead(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. Returns Type Description System.Boolean Returns true if the card is not null or not Dead. OpposingCard(PlayableCard) Retrieve the PlayableCard that is opposing this PlayableCard in the opposite slot. Declaration public static PlayableCard OpposingCard(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. Returns Type Description DiskCardGame.PlayableCard The card in the opposing slot, otherwise return null. Remarks It is on the implementer to check if the returned value is not null OpposingSlot(PlayableCard) Retrieve the CardSlot object that is opposing this PlayableCard. Declaration public static CardSlot OpposingSlot(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. Returns Type Description DiskCardGame.CardSlot The card slot opposite of this playableCard, otherwise return null. Remarks It is on the implementer to check if the returned value is not null OtherCardIsOnSameSide(PlayableCard, PlayableCard) Check if the other PlayableCard is on the same side of the board as this PlayableCard. Declaration public static bool OtherCardIsOnSameSide(this PlayableCard playableCard, PlayableCard otherCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard The PlayableCard to access. DiskCardGame.PlayableCard otherCard The other PlayableCard. Returns Type Description System.Boolean Returns true if both cards are on the board and both are on the opponent cards or both are player cards. OwnerHasBlueGem(PlayableCard) Declaration public static bool OwnerHasBlueGem(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description System.Boolean RemoveAbilities(CardInfo, Ability[]) Removes all stacks of any number of abilities from the card. Declaration public static CardInfo RemoveAbilities(this CardInfo info, params Ability[] abilities) Parameters Type Name Description DiskCardGame.CardInfo info Card to access. DiskCardGame.Ability [] abilities The abilities to remove. Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. RemoveAbilitiesSingle(CardInfo, Ability[]) Removes any number of abilities from the card. Will remove one instance of each passed ability; multiple instances can be passed. Declaration public static CardInfo RemoveAbilitiesSingle(this CardInfo info, params Ability[] abilities) Parameters Type Name Description DiskCardGame.CardInfo info Card to access. DiskCardGame.Ability [] abilities The abilities to remove. Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. RemoveAppearances(CardInfo, CardAppearanceBehaviour.Appearance[]) Removes any number of appearance behaviors from the card. Declaration public static CardInfo RemoveAppearances(this CardInfo info, params CardAppearanceBehaviour.Appearance[] appearances) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardAppearanceBehaviour.Appearance [] appearances The appearances to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveAppearancesSingle(CardInfo, CardAppearanceBehaviour.Appearance[]) Removes any number of appearance behaviors from the card. Will remove one instance of each passed appearance; multiple instances can be passed. Declaration public static CardInfo RemoveAppearancesSingle(this CardInfo info, params CardAppearanceBehaviour.Appearance[] appearances) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardAppearanceBehaviour.Appearance [] appearances The appearances to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveCardMetaCategories(CardInfo, CardMetaCategory[]) Removes any number of CardMetaCategories from the card. Declaration public static CardInfo RemoveCardMetaCategories(this CardInfo info, params CardMetaCategory[] cardMetaCategories) Parameters Type Name Description DiskCardGame.CardInfo info Card to access. DiskCardGame.CardMetaCategory [] cardMetaCategories The CardMetaCategories to remove. Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. RemoveCardModificationInfo(PlayableCard, CardModificationInfo, Boolean) Removes the provided CardModificationInfo from the PlayableCard. Searches both its TemporaryMods list and its CardInfo.Mods list. Declaration public static bool RemoveCardModificationInfo(this PlayableCard playableCard, CardModificationInfo modToRemove, bool updateDisplay = true) Parameters Type Name Description DiskCardGame.PlayableCard playableCard The PlayableCard to access. DiskCardGame.CardModificationInfo modToRemove The CardModificationInfo object to remove. System.Boolean updateDisplay Whether or not to call OnStatsChanged after removing the card mod. Returns Type Description System.Boolean True if the mod was successfully removed or false if the mod was not removed or was null. RemoveDecals(CardInfo, Texture[]) Removes any number of decals from the card. Declaration public static CardInfo RemoveDecals(this CardInfo info, params Texture[] decals) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture [] decals The decals to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveDecalsSingle(CardInfo, Texture[]) Removes any number of decals behaviors from the card. Will remove one instance of each passed decals; multiple instances can be passed. Declaration public static CardInfo RemoveDecalsSingle(this CardInfo info, params Texture[] decals) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture [] decals The decals to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveMetaCategories(CardInfo, CardMetaCategory[]) Removes any number of metacategories from the card. Declaration public static CardInfo RemoveMetaCategories(this CardInfo info, params CardMetaCategory[] categories) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardMetaCategory [] categories The categories to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveMetaCategoriesSingle(CardInfo, CardMetaCategory[]) Removes any number of metacategories behaviors from the card. Will remove one instance of each passed appearance; multiple instances can be passed. Declaration public static CardInfo RemoveMetaCategoriesSingle(this CardInfo info, params CardMetaCategory[] categories) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardMetaCategory [] categories The categories to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveShieldCount(PlayableCard, Int32, Ability, Boolean) Reduces the amount of shields a specific ability is currently giving. Declaration public static void RemoveShieldCount(this PlayableCard card, int amount, Ability ability, bool updateDisplay = true) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. System.Int32 amount How many shields to add. DiskCardGame.Ability ability The shield-giving ability to remove shields from. System.Boolean updateDisplay Whether to update the card's display, meaning sigil stack numbers and any shield effects. RemoveShieldCount(PlayableCard, Int32, Boolean) Reduces the amount of shields a specific ability is currently giving. Declaration public static void RemoveShieldCount(this PlayableCard card, int amount, bool updateDisplay = true) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. System.Int32 amount How many shields to add. System.Boolean updateDisplay Whether to update the card's display, meaning sigil stack numbers and any shield effects. RemoveShieldCount(PlayableCard, Int32, Boolean) Declaration public static void RemoveShieldCount(this PlayableCard card, int amount, bool updateDisplay = true) where T : DamageShieldBehaviour Parameters Type Name Description DiskCardGame.PlayableCard card System.Int32 amount System.Boolean updateDisplay Type Parameters Name Description T RemoveSpecialAbilities(CardInfo, SpecialTriggeredAbility[]) Removes any number of special abilities from the card. Declaration public static CardInfo RemoveSpecialAbilities(this CardInfo info, params SpecialTriggeredAbility[] abilities) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.SpecialTriggeredAbility [] abilities The special abilities to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveSpecialAbilitiesSingle(CardInfo, SpecialTriggeredAbility[]) Removes any number of special abilities from the card. Will remove one instance of each passed ability; multiple instances can be passed. Declaration public static CardInfo RemoveSpecialAbilitiesSingle(this CardInfo info, params SpecialTriggeredAbility[] abilities) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.SpecialTriggeredAbility [] abilities The special abilities to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveTemporaryMods(PlayableCard, CardModificationInfo[]) Declaration public static void RemoveTemporaryMods(this PlayableCard card, params CardModificationInfo[] mods) Parameters Type Name Description DiskCardGame.PlayableCard card DiskCardGame.CardModificationInfo [] mods RemoveTraits(CardInfo, Trait[]) Removes any number of traits from the card. Declaration public static CardInfo RemoveTraits(this CardInfo info, params Trait[] traits) Parameters Type Name Description DiskCardGame.CardInfo info Card to access. DiskCardGame.Trait [] traits The traits to remove. Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. RemoveTribes(CardInfo, Tribe[]) Removes any number of traits from the card. Declaration public static CardInfo RemoveTribes(this CardInfo info, params Tribe[] tribes) Parameters Type Name Description DiskCardGame.CardInfo info Card to access. DiskCardGame.Tribe [] tribes The tribes to remove. Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. ResetShield(PlayableCard, Ability) A variant of ResetShield that only resets shields belonging is a certain ability. Declaration public static void ResetShield(this PlayableCard card, Ability ability) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. DiskCardGame.Ability ability The shield ability to look for. SetAffectedByTidalLock(CardInfo, Boolean) Sets whether the card should be killed by Tidal Lock's effect. Declaration public static CardInfo SetAffectedByTidalLock(this CardInfo info, bool affectedByTidalLock = true) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Boolean affectedByTidalLock Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetAltPortrait(CardInfo, String) Sets the card's alternate portrait. This portrait is only used when asked for by an ability or an appearance behavior. Declaration public static CardInfo SetAltPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetAltPortrait(CardInfo, Sprite) Sets the card's alternate portrait. This portrait is only used when asked for by an ability or an appearance behavior. Declaration public static CardInfo SetAltPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Sprite portrait The sprite containing the card portrait. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetAltPortrait(CardInfo, Texture2D, Nullable) Sets the card's alternate portrait. This portrait is only used when asked for by an ability or an appearance behavior. Declaration public static CardInfo SetAltPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetAnimatedPortrait(CardInfo, GameObject) Sets the animated portrait for the given CardInfo. Declaration public static CardInfo SetAnimatedPortrait(this CardInfo info, GameObject portrait) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. GameObject portrait The to check for. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetBaseAttackAndHealth(CardInfo, Nullable, Nullable) Sets the base attack and health of the card. Declaration public static CardInfo SetBaseAttackAndHealth(this CardInfo info, int? baseAttack = 0, int? baseHealth = 0) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Nullable < System.Int32 > baseAttack The base attack for the card. System.Nullable < System.Int32 > baseHealth The base health for the card. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetBasic(CardInfo, String, Int32, Int32, String) Sets a number of basic properties of the card Declaration public static CardInfo SetBasic(this CardInfo info, string displayedName, int attack, int health, string description = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String displayedName Displayed name of the card. System.Int32 attack Attack of the card. System.Int32 health Health of the card. System.String description The description that plays when the card is seen for the first time. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetBloodCost(CardInfo, Nullable) Sets the blood cost of the card. Declaration public static CardInfo SetBloodCost(this CardInfo info, int? bloodCost = 0) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Nullable < System.Int32 > bloodCost The cost in blood (sacrifices). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetBonesCost(CardInfo, Nullable) Sets the bones cost of the card. Declaration public static CardInfo SetBonesCost(this CardInfo info, int? bonesCost = 0) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Nullable < System.Int32 > bonesCost The cost in bones. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetBrokenShieldPortrait(CardInfo, String) Sets the card's alternate broken shield portrait. This portrait is only used when a card with a shield-giving sigil loses all its shields. Declaration public static CardInfo SetBrokenShieldPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetBrokenShieldPortrait(CardInfo, Sprite) Declaration public static CardInfo SetBrokenShieldPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetBrokenShieldPortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetBrokenShieldPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetCardComplexity(CardInfo, CardComplexity) Sets the CardComplexity for the card. Used mainly in Act 1 to determine whether a certain is obtainable. Vanilla: unlocked and learned by default Simple: unlocked by default Intermediate: unlocked after the second tutorial Advanced: unlocked after the third tutorial if all its abilities have been learned Declaration public static CardInfo SetCardComplexity(this CardInfo info, CardComplexity complexity) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardComplexity complexity The CardComplexity to use. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetCardTemple(CardInfo, CardTemple) Sets the CardTemple for the card. Used to determine what cards are obtainable in each Act. Act 1 uses Nature cards, Act 2 uses all Temples for each region, Act 3 uses Tech cards. Declaration public static CardInfo SetCardTemple(this CardInfo info, CardTemple temple) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. CardTemple temple The CardTemple to use. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetCost(CardInfo, Nullable, Nullable, Nullable, List) Sets the cost of the card. Any and all costs can be set this way. Declaration public static CardInfo SetCost(this CardInfo info, int? bloodCost = 0, int? bonesCost = 0, int? energyCost = 0, List gemsCost = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Nullable < System.Int32 > bloodCost The cost in blood (sacrifices). System.Nullable < System.Int32 > bonesCost The cost in bones. System.Nullable < System.Int32 > energyCost The cost in energy. List < DiskCardGame.GemType > gemsCost The cost in gems. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetCustomCost(CardInfo, CardCostManager.FullCardCost, Int32) Sets a card's custom cost property using the provided FullCardCost object as a reference. Declaration public static CardInfo SetCustomCost(this CardInfo info, CardCostManager.FullCardCost customCost, int amount) Parameters Type Name Description DiskCardGame.CardInfo info The CardInfo to modify. CardCostManager.FullCardCost customCost The FullCardCost representing the cost we want to set. System.Int32 amount How much of the custom cost the CardInfo should need to be played. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetCustomCost(CardInfo, String, Int32) A variant of SetExtendedProperty intended to be used to set properties representing custom costs. Primarily provided for clarity of purpose. Declaration public static CardInfo SetCustomCost(this CardInfo info, string costName, int amount) Parameters Type Name Description DiskCardGame.CardInfo info The CardInfo to modify. System.String costName The name of the cost we want to set. System.Int32 amount How much of the custom cost the CardInfo should need to be played. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetCustomCost(CardInfo, Int32) Declaration public static CardInfo SetCustomCost(this CardInfo info, int amount) where T : CustomCardCost Parameters Type Name Description DiskCardGame.CardInfo info System.Int32 amount Returns Type Description DiskCardGame.CardInfo Type Parameters Name Description T SetCustomUnlockCheck(CardInfo, Func) Sets the custom unlock check for the card. Some parts require a card is unlocked before it can be obtained or used. Declaration public static CardInfo SetCustomUnlockCheck(this CardInfo c, Func check) Parameters Type Name Description DiskCardGame.CardInfo c The card. Func < System.Boolean , System.Int32 , System.Boolean > check The custom unlock check, a func that needs to return true for the card to be unlocked. The bool argument is true when the game is in Kaycee's Mod mode and the int argument is the current Kaycee's Mod challenge level. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetDefaultEvolutionName(CardInfo, String) Sets the default evolution name for the card. This is the name used when the card doesn't evolve into another card. Declaration public static CardInfo SetDefaultEvolutionName(this CardInfo info, string defaultName) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String defaultName The default evolution name to use. Pass in 'null' to use the vanilla default. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetDefaultPart1Card(CardInfo) Sets the card to behave as a \"normal\" card in Part 1. The CardTemple is Nature and it will appear in choice nodes and trader nodes. Declaration public static CardInfo SetDefaultPart1Card(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetDefaultPart3Card(CardInfo) Sets the card to behave as a \"normal\" card in Part 3. The CardTemple is Tech and it will appear in choice nodes and as a potential random card from GiftBot. Declaration public static CardInfo SetDefaultPart3Card(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetDisplayedName(CardInfo, String) Sets the displayed name of the card. Declaration public static CardInfo SetDisplayedName(this CardInfo info, string displayedName) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String displayedName The displayed name for the card. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveAltPortrait(CardInfo, String) Sets the emissive alternate portrait for the card. This can only be done after the alternate portrait has been set (SetAltPortrait). Declaration public static CardInfo SetEmissiveAltPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveAltPortrait(CardInfo, Sprite) Sets the emissive alternate portrait for the card. This can only be done after the alternate portrait has been set (SetAltPortrait). Declaration public static CardInfo SetEmissiveAltPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Sprite portrait The sprite containing the emission. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveAltPortrait(CardInfo, Texture2D, Nullable) Sets the emissive alternate portrait for the card. This can only be done after the alternate portrait has been set (SetAltPortrait). Declaration public static CardInfo SetEmissiveAltPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the emission. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveBrokenShieldPortrait(CardInfo, String) Sets the emissive broken shield portrait for the card. This can only be done after the default broken shield portrait has been set (SetBrokenShieldPortrait). Declaration public static CardInfo SetEmissiveBrokenShieldPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveBrokenShieldPortrait(CardInfo, Sprite) Declaration public static CardInfo SetEmissiveBrokenShieldPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetEmissiveBrokenShieldPortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetEmissiveBrokenShieldPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetEmissivePortrait(CardInfo, String) Sets the emissive portrait for the card. This can only be done after the default portrait has been set (SetPortrait). Declaration public static CardInfo SetEmissivePortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissivePortrait(CardInfo, Sprite) Sets the emissive portrait for the card. This can only be done after the default portrait has been set (SetPortrait). Declaration public static CardInfo SetEmissivePortrait(this CardInfo info, Sprite sprite) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Sprite sprite The sprite containing the emission. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissivePortrait(CardInfo, Texture2D, Nullable) Sets the emissive portrait for the card. This can only be done after the default portrait has been set (SetPortrait). Declaration public static CardInfo SetEmissivePortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the emission. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveSacrificablePortrait(CardInfo, String) Sets the emissive sacrifcable portrait for the card. This can only be done after the sacrificable portrait has been set (SetSacrifablePortrait). Declaration public static CardInfo SetEmissiveSacrificablePortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveSacrificablePortrait(CardInfo, Sprite) Declaration public static CardInfo SetEmissiveSacrificablePortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetEmissiveSacrificablePortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetEmissiveSacrificablePortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetEmissiveSteelTrapPortrait(CardInfo, String) Sets the emissive steel trap portrait for the card. This can only be done after the default steel trap portrait has been set (SetSteelTrapPortrait). Declaration public static CardInfo SetEmissiveSteelTrapPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveSteelTrapPortrait(CardInfo, Sprite) Declaration public static CardInfo SetEmissiveSteelTrapPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetEmissiveSteelTrapPortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetEmissiveSteelTrapPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetEnergyCost(CardInfo, Nullable) Sets the energy cost of the card. Declaration public static CardInfo SetEnergyCost(this CardInfo info, int? energyCost = 0) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Nullable < System.Int32 > energyCost The cost in energy. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEvolve(CardInfo, CardInfo, Int32, IEnumerable) Sets the evolve parameters of the card. These parameters are used to make the Evolve ability function correctly. Declaration public static CardInfo SetEvolve(this CardInfo info, CardInfo evolveCard, int numberOfTurns, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardInfo evolveCard The card that will be generated after the set number of turns. System.Int32 numberOfTurns The number of turns before the card evolves. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the evolved card. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEvolve(CardInfo, String, Int32, IEnumerable) Sets the evolve parameters of the card. These parameters are used to make the Evolve ability function correctly. This function uses delayed loading to attach the evolution to the card, so if the evolve card doesn't exist yet, this function will still work. Declaration public static CardInfo SetEvolve(this CardInfo info, string evolveInto, int numberOfTurns, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String evolveInto The name of card that will be generated after the set number of turns. System.Int32 numberOfTurns The number of turns before the card evolves. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the evolved card. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetExtendedProperty(CardInfo, String, Object) Adds a custom property value to the card. Declaration public static CardInfo SetExtendedProperty(this CardInfo info, string propertyName, object value) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String propertyName The name of the property to set. System.Object value The value of the property. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetGBCPlayable(CardInfo, CardTemple) Makes the card fully playable in GBC mode and able to appear in card packs. Declaration public static CardInfo SetGBCPlayable(this CardInfo info, CardTemple temple) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. CardTemple temple The temple that the card will exist under. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetGemify(CardInfo, Boolean) Sets whether the card should be Gemified or not. Can and will un-Gemify cards. Declaration public static CardInfo SetGemify(this CardInfo info, bool gemify = true) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Boolean gemify Whether the card should be gemified. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetGemsCost(CardInfo, GemType[]) Sets the gems cost of the card. Declaration public static CardInfo SetGemsCost(this CardInfo info, params GemType[] gemsCost) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.GemType [] gemsCost The cost in Mox. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetGemsCost(CardInfo, List) Sets the gems cost of the card. Declaration public static CardInfo SetGemsCost(this CardInfo info, List gemsCost = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. List < DiskCardGame.GemType > gemsCost The cost in Mox. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetHideStats(CardInfo, Boolean) Sets whether or not the card's Power and Health stats will be displayed. Declaration public static CardInfo SetHideStats(this CardInfo info, bool hideStats = true) Parameters Type Name Description DiskCardGame.CardInfo info System.Boolean hideStats Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. SetIceCube(CardInfo, CardInfo, IEnumerable) Sets the ice cube parameters of the card. These parameters are used to make the IceCube ability function correctly. Declaration public static CardInfo SetIceCube(this CardInfo info, CardInfo iceCube, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardInfo iceCube The card that will be generated when this card dies. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the ice cube contents. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetIceCube(CardInfo, String, IEnumerable) Sets the ice cube parameters of the card. These parameters are used to make the IceCube ability function correctly. This function uses delayed loading to attach the ice cube to the card, so if the ice cube card doesn't exist yet, this function will still work. Declaration public static CardInfo SetIceCube(this CardInfo info, string iceCubeName, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String iceCubeName The name of the card that will be generated when this card dies. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the ice cube contents. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetLostTailPortrait(CardInfo, String) Sets the card's lost tail portrait. This portrait is used when the card has the TailOnHit ability and has dodged a hit. Declaration public static CardInfo SetLostTailPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetLostTailPortrait(CardInfo, Texture2D, Nullable) Sets the card's lost tail portrait. This portrait is used when the card has the TailOnHit ability and has dodged a hit. Declaration public static CardInfo SetLostTailPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetLostTailPortrait(TailParams, String, CardInfo) Sets the card's lost tail portrait. This portrait is used when the card has the TailOnHit ability and has dodged a hit. Declaration public static TailParams SetLostTailPortrait(this TailParams info, string pathToArt, CardInfo owner) Parameters Type Name Description DiskCardGame.TailParams info Tail to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). DiskCardGame.CardInfo owner The card that the tail parameters belongs to. Returns Type Description DiskCardGame.TailParams The same TailParams so a chain can continue. SetLostTailPortrait(TailParams, Sprite, CardInfo) Sets the card's lost tail portrait. This portrait is used when the card has the TailOnHit ability and has dodged a hit. Declaration public static TailParams SetLostTailPortrait(this TailParams info, Sprite portrait, CardInfo owner) Parameters Type Name Description DiskCardGame.TailParams info Tail to access. Sprite portrait The sprite containing the card portrait. DiskCardGame.CardInfo owner The card that the tail parameters belongs to. Returns Type Description DiskCardGame.TailParams The same TailParams so a chain can continue. SetLostTailPortrait(TailParams, Texture2D, CardInfo, Nullable) Sets the card's lost tail portrait. This portrait is used when the card has the TailOnHit ability and has dodged a hit. Declaration public static TailParams SetLostTailPortrait(this TailParams info, Texture2D portrait, CardInfo owner, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.TailParams info Tail to access. Texture2D portrait The texture containing the card portrait. DiskCardGame.CardInfo owner The card that the tail parameters belongs to. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.TailParams The same TailParams so a chain can continue. SetName(CardInfo, String, String) Sets the name of the card. Declaration public static CardInfo SetName(this CardInfo info, string name, string modPrefix = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String name The name for the card. System.String modPrefix The string that will be prefixed to the card name if it doesn't already exist. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetNames(CardInfo, String, String, String) Sets the card name and displayed name of the card. Declaration public static CardInfo SetNames(this CardInfo info, string name, string displayedName, string modPrefix = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String name The name for the card. System.String displayedName The displayed name for the card. System.String modPrefix The string that will be prefixed to the card name if it doesn't already exist. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetOnePerDeck(CardInfo, Boolean) Sets the card's onePerDeck field, which controls whether the player can own multiple copies of it in their deck. Declaration public static CardInfo SetOnePerDeck(this CardInfo info, bool onePerDeck = true) Parameters Type Name Description DiskCardGame.CardInfo info System.Boolean onePerDeck Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. SetPelt(CardInfo, Boolean) Adds the Pelt trait and background to this card, and optionally adds the SpawnLice special ability. Declaration public static CardInfo SetPelt(this CardInfo info, bool spawnLice = true) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Boolean spawnLice Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelAlternatePortrait(CardInfo, String) Sets the card's pixel alternate portrait. This portrait is used when the card is displayed in GBC mode (Act 2). Declaration public static CardInfo SetPixelAlternatePortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelAlternatePortrait(CardInfo, Sprite) Sets the card's pixel alternate portrait. This portrait is used when the card is displayed in GBC mode (Act 2). Declaration public static CardInfo SetPixelAlternatePortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Sprite portrait The sprite containing the card portrait. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelAlternatePortrait(CardInfo, Texture2D, Nullable) Sets the card's pixel alternate portrait. This portrait is used when the card is displayed in GBC mode (Act 2). Declaration public static CardInfo SetPixelAlternatePortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelBrokenShieldPortrait(CardInfo, String) Sets the card's alternate pixel broken shield portrait. This portrait is only used in Act 2. Declaration public static CardInfo SetPixelBrokenShieldPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelBrokenShieldPortrait(CardInfo, Sprite) Declaration public static CardInfo SetPixelBrokenShieldPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetPixelBrokenShieldPortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetPixelBrokenShieldPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetPixelPortrait(CardInfo, String) Sets the card's pixel portrait. This portrait is used when the card is displayed in GBC mode (Act 2). Declaration public static CardInfo SetPixelPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelPortrait(CardInfo, Sprite) Sets the card's pixel portrait. This portrait is used when the card is displayed in GBC mode (Act 2). Declaration public static CardInfo SetPixelPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Sprite portrait The sprite containing the card portrait. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelPortrait(CardInfo, Texture2D, Nullable) Sets the card's pixel portrait. This portrait is used when the card is displayed in GBC mode (Act 2). Declaration public static CardInfo SetPixelPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelSacrificablePortrait(CardInfo, String) Sets the card's pixel sacrificable portrait. This portrait is only used in Act 2. Declaration public static CardInfo SetPixelSacrificablePortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelSacrificablePortrait(CardInfo, Sprite) Declaration public static CardInfo SetPixelSacrificablePortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetPixelSacrificablePortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetPixelSacrificablePortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetPixelSteelTrapPortrait(CardInfo, String) Sets the card's alternate steep trap portrait. This portrait is only used when the Steel Trap ability triggers in Act 2. Declaration public static CardInfo SetPixelSteelTrapPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelSteelTrapPortrait(CardInfo, Sprite) Declaration public static CardInfo SetPixelSteelTrapPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetPixelSteelTrapPortrait(CardInfo, Texture2D, Nullable) Sets the card's alternate steep trap portrait. This portrait is only used when the Steel Trap ability triggers in Act 2. Declaration public static CardInfo SetPixelSteelTrapPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPortrait(CardInfo, String) Sets the default card portrait for the card Declaration public static CardInfo SetPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPortrait(CardInfo, Sprite) Sets the default card portrait for the card Declaration public static CardInfo SetPortrait(this CardInfo info, Sprite sprite) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Sprite sprite The sprite containing the card portrait. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPortrait(CardInfo, Texture2D, Nullable) Sets the default card portrait for the card Declaration public static CardInfo SetPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPortrait(CardInfo, Texture2D, Texture2D, Nullable) Sets the cards portrait and emission at the same time. Declaration public static CardInfo SetPortrait(this CardInfo info, Texture2D portrait, Texture2D emission, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait The texture containing the card portrait. Texture2D emission The texture containing the emission. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo . SetPortraitAndEmission(CardInfo, String, String) Sets the cards portrait and emission at the same time. Declaration public static CardInfo SetPortraitAndEmission(this CardInfo info, string pathToArt, string pathToEmission) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). System.String pathToEmission The path to the .png file containing the emission artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPortraitAndEmission(CardInfo, Sprite, Sprite) Sets the cards portrait and emission at the same time. Declaration public static CardInfo SetPortraitAndEmission(this CardInfo info, Sprite portrait, Sprite emission) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Sprite portrait The sprite containing the card portrait. Sprite emission The sprite containing the emission. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPortraitAndEmission(CardInfo, Texture2D, Texture2D, Nullable) Sets the cards portrait and emission at the same time. Declaration public static CardInfo SetPortraitAndEmission(this CardInfo info, Texture2D portrait, Texture2D emission, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the card portrait. Texture2D emission The texture containing the emission. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetRare(CardInfo) Sets the card so it shows up for rare card choices and applies the rare background. Declaration public static CardInfo SetRare(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetSacrificablePortrait(CardInfo, String) Sets the card's alternate sacricable portrait. This portrait is only used when a card with this CardInfo is on the board when the player is selecting sacrifices. Declaration public static CardInfo SetSacrificablePortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetSacrificablePortrait(CardInfo, Sprite) Declaration public static CardInfo SetSacrificablePortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetSacrificablePortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetSacrificablePortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetSpecialAbilities(CardInfo, SpecialTriggeredAbility[]) Sets the CardInfo's special abilities field to any number of special abilities to the card. Declaration public static CardInfo SetSpecialAbilities(this CardInfo info, params SpecialTriggeredAbility[] abilities) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.SpecialTriggeredAbility [] abilities The abilities to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetStatIcon(CardInfo, SpecialStatIcon) Sets the stat icon to the card. Declaration public static CardInfo SetStatIcon(this CardInfo info, SpecialStatIcon statIcon) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.SpecialStatIcon statIcon The stat icon to set. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetSteelTrapPortrait(CardInfo, String) Sets the card's alternate steep trap portrait. This portrait is only used when the Steel Trap ability triggers. Declaration public static CardInfo SetSteelTrapPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetSteelTrapPortrait(CardInfo, Sprite) Declaration public static CardInfo SetSteelTrapPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetSteelTrapPortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetSteelTrapPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetStrafeFlipsPortrait(CardInfo, Boolean) Sets whether or not the CardInfo's portrait will be flipped when Strafe and similar abilities change direction. Declaration public static CardInfo SetStrafeFlipsPortrait(this CardInfo info, bool flipPortrait = true) Parameters Type Name Description DiskCardGame.CardInfo info System.Boolean flipPortrait Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. SetTail(CardInfo, CardInfo, IEnumerable) Sets the tail parameters of the card. These parameters are used to make the TailOnHit ability function correctly. Declaration public static CardInfo SetTail(this CardInfo info, CardInfo tail, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardInfo tail The card that will be generated as the \"tail\" when the first hit is dodged. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the tail. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTail(CardInfo, CardInfo, Sprite, IEnumerable) Sets the tail parameters of the card. These parameters are used to make the TailOnHit ability function correctly. Declaration public static CardInfo SetTail(this CardInfo info, CardInfo tail, Sprite tailLostPortrait, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardInfo tail The card that will be generated as the \"tail\" when the first hit is dodged. Sprite tailLostPortrait The sprite containing the card portrait. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the tail. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTail(CardInfo, CardInfo, Texture2D, Nullable, IEnumerable) Sets the tail parameters of the card. These parameters are used to make the TailOnHit ability function correctly. Declaration public static CardInfo SetTail(this CardInfo info, CardInfo tail, Texture2D tailLostPortrait, FilterMode? filterMode = null, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardInfo tail The card that will be generated as the \"tail\" when the first hit is dodged. Texture2D tailLostPortrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the tail. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTail(CardInfo, String, IEnumerable) Sets the tail parameters of the card. These parameters are used to make the TailOnHit ability function correctly. This function uses delayed loading to attach the tail to the card, so if the tail card doesn't exist yet, this function will still work. Declaration public static CardInfo SetTail(this CardInfo info, string tailName, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String tailName The name of the card that will be generated as the \"tail\" when the first hit is dodged. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the tail. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTail(CardInfo, String, String, IEnumerable) Sets the tail parameters of the card. These parameters are used to make the TailOnHit ability function correctly. This function uses delayed loading to attach the tail to the card, so if the tail card doesn't exist yet, this function will still work. Declaration public static CardInfo SetTail(this CardInfo info, string tailName, string pathToLostTailArt = null, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String tailName The name of the card that will be generated as the \"tail\" when the first hit is dodged. System.String pathToLostTailArt The path to the .png file containing the lost tail artwork (relative to the Plugins directory). IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the tail. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTail(CardInfo, String, Sprite, IEnumerable) Sets the tail parameters of the card. These parameters are used to make the TailOnHit ability function correctly. This function uses delayed loading to attach the tail to the card, so if the tail card doesn't exist yet, this function will still work. Declaration public static CardInfo SetTail(this CardInfo info, string tailName, Sprite tailLostPortrait, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String tailName The name of the card that will be generated as the \"tail\" when the first hit is dodged. Sprite tailLostPortrait The sprite containing the card portrait. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the tail. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue.. SetTail(CardInfo, String, Texture2D, Nullable, IEnumerable) Sets the tail parameters of the card. These parameters are used to make the TailOnHit ability function correctly. This function uses delayed loading to attach the tail to the card, so if the tail card doesn't exist yet, this function will still work. Declaration public static CardInfo SetTail(this CardInfo info, string tailName, Texture2D tailLostPortrait, FilterMode? filterMode = null, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String tailName The name of the card that will be generated as the \"tail\" when the first hit is dodged. Texture2D tailLostPortrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the tail. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTerrain(CardInfo) Adds the terrain trait and background to this card. Declaration public static CardInfo SetTerrain(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Card to access. Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. SetTerrain(CardInfo, Boolean) Adds the Terrain trait and background to this card, with the option to not use TerrainLayout. Declaration public static CardInfo SetTerrain(this CardInfo info, bool useTerrainLayout) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Boolean useTerrainLayout Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTraits(CardInfo, Trait[]) Sets any number of traits to the card. Declaration public static CardInfo SetTraits(this CardInfo info, params Trait[] traits) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.Trait [] traits The traits to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTransformerCardId(CardInfo, String) Sets whether the card should be killed by Tidal Lock's effect. Declaration public static CardInfo SetTransformerCardId(this CardInfo info, string transformerCardId) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String transformerCardId Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTribes(CardInfo, Tribe[]) Set any number of tribes to the card. Declaration public static CardInfo SetTribes(this CardInfo info, params Tribe[] tribes) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.Tribe [] tribes The tribes to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SpawnInHand(CardInfo, List, Vector3, Single, Action) Spawns the CardInfo object to the player's hand. Declaration public static IEnumerator SpawnInHand(this CardInfo cardInfo, List temporaryMods = null, Vector3 spawnOffset = default(Vector3), float onDrawnTriggerDelay = 0F, Action cardSpawnedCallback = null) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. List < DiskCardGame.CardModificationInfo > temporaryMods The mods that will be added to the PlayableCard object. Vector3 spawnOffset The position of where the card will appear from. Default is a Vector3 of (0, 6, 1.5). System.Single onDrawnTriggerDelay The amount of time to wait before being added to the hand. Action < DiskCardGame.PlayableCard > cardSpawnedCallback The action to invoke after the card has spawned but before being added to the hand. One of two uses in the vanilla game is if the player has completed the event 'ImprovedSmokeCardDiscovered'. If this event is complete, the 'Improved Smoke' PlayableCard has the emissive portrait forced on and is then re-rendered. The other use is during Grimora's fight in Act 2. During the reanimation sequence, the background sprite is replaced with a rare card background. . Returns Type Description System.Collections.IEnumerator The enumeration of the card being placed in the player's hand. TransformIntoCardAboveHand(PlayableCard, CardInfo, Action, Action) A version of TransformIntoCardInHand that incorporates MoveCardAboveHand. Declaration public static IEnumerator TransformIntoCardAboveHand(this PlayableCard card, CardInfo evolvedInfo, Action onTransformedCallback = null, Action preTransformCallback = null) Parameters Type Name Description DiskCardGame.PlayableCard card DiskCardGame.CardInfo evolvedInfo Action onTransformedCallback Action preTransformCallback Returns Type Description System.Collections.IEnumerator TransformIntoCardInHand(PlayableCard, CardInfo, Action, Action) A version of TransformIntoCard tailored to visually work on cards in the hand. Declaration public static IEnumerator TransformIntoCardInHand(this PlayableCard card, CardInfo evolvedInfo, Action onTransformedCallback = null, Action preTransformCallback = null) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. DiskCardGame.CardInfo evolvedInfo The CardInfo to change the card into. Action onTransformedCallback An Action to invoke after the evolvedInfo is set. Action preTransformCallback An Action to invoke before the evolvedInfo is set. Returns Type Description System.Collections.IEnumerator" + "keywords": "Class CardExtensions Inheritance System.Object CardExtensions Namespace : InscryptionAPI.Card Assembly : InscryptionAPI.dll Syntax public static class CardExtensions Methods AddAbilities(CardInfo, Ability[]) Adds any number of abilities to the card. Abilities can be added multiple times. Declaration public static CardInfo AddAbilities(this CardInfo info, params Ability[] abilities) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.Ability [] abilities The abilities to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AddAppearances(CardInfo, CardAppearanceBehaviour.Appearance[]) Adds any number of appearance behaviors to the card. Duplicate appearance behaviors are ignored. Declaration public static CardInfo AddAppearances(this CardInfo info, params CardAppearanceBehaviour.Appearance[] appearances) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardAppearanceBehaviour.Appearance [] appearances The appearances to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AddDecal(CardInfo, String[]) Adds any number of decals to the card. Duplicate decals are ignored. Declaration public static CardInfo AddDecal(this CardInfo info, params string[] decals) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String [] decals The paths to the .png files containing the decals (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AddDecal(CardInfo, Texture[]) Adds any number of decals to the card. Duplicate decals are ignored. Declaration public static CardInfo AddDecal(this CardInfo info, params Texture[] decals) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture [] decals The decals to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AddMetaCategories(CardInfo, CardMetaCategory[]) Adds any number of metacategories to the card. Duplicate metacategories are ignored. Declaration public static CardInfo AddMetaCategories(this CardInfo info, params CardMetaCategory[] categories) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardMetaCategory [] categories The categories to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AddShieldCount(PlayableCard, Int32, Ability, Boolean) Increases the amount of shields a specific ability is currently giving. Declaration public static void AddShieldCount(this PlayableCard card, int amount, Ability ability, bool updateDisplay = true) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. System.Int32 amount How many shields to add. DiskCardGame.Ability ability The shield-giving ability to add more shields to. System.Boolean updateDisplay Whether to update the card's display, meaning sigil stack numbers and any shield effects. AddShieldCount(PlayableCard, Int32, Boolean) Increases the amount of shields the card has. Affects the internal counter; does not add or remove shield sigil stacks. Declaration public static void AddShieldCount(this PlayableCard card, int amount, bool updateDisplay = true) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. System.Int32 amount How many shields to add. System.Boolean updateDisplay Whether to update the card's display, meaning sigil stack numbers and any shield effects. AddShieldCount(PlayableCard, Int32, Boolean) Increases the amount of shields a specific ability's AbilityBehaviour is currently giving. Declaration public static void AddShieldCount(this PlayableCard card, int amount, bool updateDisplay = true) where T : DamageShieldBehaviour Parameters Type Name Description DiskCardGame.PlayableCard card System.Int32 amount System.Boolean updateDisplay Type Parameters Name Description T AddSpecialAbilities(CardInfo, SpecialTriggeredAbility[]) Adds any number of special abilities to the card. Duplicate special abilities are ignored. Declaration public static CardInfo AddSpecialAbilities(this CardInfo info, params SpecialTriggeredAbility[] abilities) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.SpecialTriggeredAbility [] abilities The abilities to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AddTemporaryMods(PlayableCard, CardModificationInfo[]) Declaration public static void AddTemporaryMods(this PlayableCard card, params CardModificationInfo[] mods) Parameters Type Name Description DiskCardGame.PlayableCard card DiskCardGame.CardModificationInfo [] mods AddTraits(CardInfo, Trait[]) Adds any number of traits to the card. Duplicate traits are ignored. Declaration public static CardInfo AddTraits(this CardInfo info, params Trait[] traits) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.Trait [] traits The traits to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AddTribes(CardInfo, Tribe[]) Adds any number of tribes to the card. Duplicate tribes are ignored. Declaration public static CardInfo AddTribes(this CardInfo info, params Tribe[] tribes) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.Tribe [] tribes The tribes to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. AllAbilities(PlayableCard) Retrieve a list of all abilities that exist on the PlayableCard. This will retrieve all Abilities from both TemporaryMods and from the underlying CardInfo object. Declaration public static List AllAbilities(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard The PlayableCard to access. Returns Type Description List < DiskCardGame.Ability > A list of Abilities from the PlayableCard and underlying CardInfo object. AllAbilities(PlayableCard, Boolean) A variant of PlayableCard.AllAbilities that can account for negated abilities in the PlayableCard's TemporaryMods. Declaration public static List AllAbilities(this PlayableCard playableCard, bool accountForNegation) Parameters Type Name Description DiskCardGame.PlayableCard playableCard The PlayableCard to access. System.Boolean accountForNegation Whether or not to check TemporaryMods for negated abilities. Returns Type Description List < DiskCardGame.Ability > A list of Abilities from the PlayableCard and underlying CardInfo object AllCardModificationInfos(PlayableCard) Retrieve a list of all CardModificationInfos that exist on the PlayableCard. This will retrieve all mods from TemporaryMods and the underlying CardInfo.Mods. Declaration public static List AllCardModificationInfos(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard The PlayableCard to access. Returns Type Description List < DiskCardGame.CardModificationInfo > A list of CardModificationInfos from the PlayableCard and underlying CardInfo object. AllSpecialAbilities(PlayableCard) Retrieve a list of all special triggered abilities that exist on the PlayableCard. This will retrieve all SpecialTriggeredAbility from both TemporaryMods and from the underlying CardInfo object. Declaration public static List AllSpecialAbilities(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard The PlayableCard to access. Returns Type Description List < DiskCardGame.SpecialTriggeredAbility > A list of SpecialTriggeredAbility from the PlayableCard and underlying CardInfo object. BloodCost(PlayableCard) Returns the Blood cost of a card. This function can be overridden if someone wants to inject new cost logic into a card's Blood cost. Declaration public static int BloodCost(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description System.Int32 BonesCost(PlayableCard) Returns the Bone cost of a card. This function can be overridden if someone wants to inject new cost logic into a card's Bone cost. Declaration public static int BonesCost(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description System.Int32 CardByName(IEnumerable, String) Gets the first card matching the given name, or null if it does not exist. Declaration public static CardInfo CardByName(this IEnumerable cards, string name) Parameters Type Name Description System.Collections.IEnumerable < DiskCardGame.CardInfo > cards An enumeration of Inscryption cards. System.String name The name to search for (case sensitive). Returns Type Description DiskCardGame.CardInfo The first matching card, or null if no match. CreateBlueprint(CardInfo) Creates a basic EncounterBlueprintData.CardBlueprint based off the CardInfo object. Declaration public static EncounterBlueprintData.CardBlueprint CreateBlueprint(this CardInfo cardInfo) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to create the blueprint with. Returns Type Description DiskCardGame.EncounterBlueprintData.CardBlueprint The CardBlueprint object that can be used when creating EncounterData. GemsCost(PlayableCard) Returns the Gem cost of a card as a list. This function can be overridden if someone wants to inject new cost logic into a card's Gem cost. Declaration public static List GemsCost(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description List < DiskCardGame.GemType > GetAbilitiesFromAllMods(PlayableCard) Retrieve a list of Ability that exist in TemporaryMods and the underlying CardInfo.Mods lists. Declaration public static List GetAbilitiesFromAllMods(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard The PlayableCard to access. Returns Type Description List < DiskCardGame.Ability > A list of Ability from the PlayableCard and underlying CardInfo object. GetAbilityStacks(PlayableCard, Ability) Gets the number of Ability stacks a card has. Declaration public static int GetAbilityStacks(this PlayableCard card, Ability ability) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. DiskCardGame.Ability ability The Ability to check for. Returns Type Description System.Int32 The number of Ability stacks the card has. GetCustomCardCosts(Card) Declaration public static List GetCustomCardCosts(this Card card) Parameters Type Name Description DiskCardGame.Card card Returns Type Description List < CustomCardCost > GetCustomCost(CardInfo, CardCostManager.FullCardCost) Declaration public static int GetCustomCost(this CardInfo cardInfo, CardCostManager.FullCardCost fullCardCost) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardCostManager.FullCardCost fullCardCost Returns Type Description System.Int32 GetCustomCost(CardInfo, String, Boolean) Declaration public static int GetCustomCost(this CardInfo cardInfo, string costName, bool canBeNegative = false) Parameters Type Name Description DiskCardGame.CardInfo cardInfo System.String costName System.Boolean canBeNegative Returns Type Description System.Int32 GetCustomCost(PlayableCard, CardCostManager.FullCardCost) Declaration public static int GetCustomCost(this PlayableCard card, CardCostManager.FullCardCost fullCardCost) Parameters Type Name Description DiskCardGame.PlayableCard card CardCostManager.FullCardCost fullCardCost Returns Type Description System.Int32 GetCustomCost(PlayableCard, String, Boolean) Declaration public static int GetCustomCost(this PlayableCard card, string costName, bool canBeNegative = false) Parameters Type Name Description DiskCardGame.PlayableCard card System.String costName System.Boolean canBeNegative Returns Type Description System.Int32 GetCustomCost(CardInfo, Boolean) Declaration public static int GetCustomCost(this CardInfo cardInfo, bool canBeNegative = false) where T : CustomCardCost Parameters Type Name Description DiskCardGame.CardInfo cardInfo System.Boolean canBeNegative Returns Type Description System.Int32 Type Parameters Name Description T GetCustomCost(PlayableCard, Boolean) Declaration public static int GetCustomCost(this PlayableCard card, bool canBeNegative = false) where T : CustomCardCost Parameters Type Name Description DiskCardGame.PlayableCard card System.Boolean canBeNegative Returns Type Description System.Int32 Type Parameters Name Description T GetCustomCostAmount(CardInfo, String) Declaration public static int GetCustomCostAmount(this CardInfo cardInfo, string costName) Parameters Type Name Description DiskCardGame.CardInfo cardInfo System.String costName Returns Type Description System.Int32 GetCustomCostAmount(PlayableCard, String) Variant of GetCustomCost that automatically retrieves the given cost's canBeNegative value. Declaration public static int GetCustomCostAmount(this PlayableCard card, string costName) Parameters Type Name Description DiskCardGame.PlayableCard card System.String costName Returns Type Description System.Int32 GetCustomCostAmount(CardInfo) Declaration public static int GetCustomCostAmount(this CardInfo cardInfo) where T : CustomCardCost Parameters Type Name Description DiskCardGame.CardInfo cardInfo Returns Type Description System.Int32 Type Parameters Name Description T GetCustomCostAmount(PlayableCard) Declaration public static int GetCustomCostAmount(this PlayableCard card) where T : CustomCardCost Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description System.Int32 Type Parameters Name Description T GetCustomCosts(CardInfo) Declaration public static List GetCustomCosts(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description List < CardCostManager.FullCardCost > GetEmissiveAltPortrait(CardInfo) Declaration public static Sprite GetEmissiveAltPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description Sprite GetEmissiveBrokenShieldPortrait(CardInfo) Declaration public static Sprite GetEmissiveBrokenShieldPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description Sprite GetEmissivePortrait(CardInfo) Declaration public static Sprite GetEmissivePortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description Sprite GetEmissiveSacrificablePortrait(CardInfo) Declaration public static Sprite GetEmissiveSacrificablePortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description Sprite GetEmissiveSteelTrapPortrait(CardInfo) Declaration public static Sprite GetEmissiveSteelTrapPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description Sprite GetExtendedProperty(CardInfo, String) Gets a custom property value from the card. Declaration public static string GetExtendedProperty(this CardInfo info, string propertyName) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String propertyName The name of the property to get the value of. Returns Type Description System.String The custom property value as a string. If it doesn't exist, returns null. GetExtendedPropertyAsBool(CardInfo, String) Gets a custom property as a nullable boolean. Declaration public static bool? GetExtendedPropertyAsBool(this CardInfo info, string propertyName) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String propertyName Property name to get value of. Returns Type Description System.Nullable < System.Boolean > Returns the value of the property as a boolean or null if it didn't exist or couldn't be parsed as boolean. GetExtendedPropertyAsFloat(CardInfo, String) Gets a custom property as a nullable float. Declaration public static float? GetExtendedPropertyAsFloat(this CardInfo info, string propertyName) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String propertyName Property name to get value of. Returns Type Description System.Nullable < System.Single > Returns the value of the property as a float or null if it didn't exist or couldn't be parsed as float. GetExtendedPropertyAsInt(CardInfo, String) Gets a custom property as a nullable int. Declaration public static int? GetExtendedPropertyAsInt(this CardInfo info, string propertyName) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String propertyName Property name to get value of. Returns Type Description System.Nullable < System.Int32 > Returns the value of the property as an int or null if it didn't exist or couldn't be parsed as int. GetModPrefix(CardInfo) Gets the card name prefix for this card. Declaration public static string GetModPrefix(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description System.String The mod prefix for this card, or null if it wasn't found/is from the base game. GetModTag(CardInfo) Gets the GUID of the mod that created this card. Declaration public static string GetModTag(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description System.String The GUID of the mod that created this card or null if it wasn't found/is from the base game. GetPixelAlternatePortrait(CardInfo) Declaration public static Sprite GetPixelAlternatePortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description Sprite GetPixelPortrait(CardInfo) Declaration public static Sprite GetPixelPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description Sprite GetPlayableCard(CardInfo) Gets a PlayableCards using this specific CardInfo. Inscryption often clones CardInfos and sometimes they're reused, meaning there can be more than 1 card using the same CardInfo object. Declaration public static PlayableCard GetPlayableCard(this CardInfo cardInfo) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to check for. Returns Type Description DiskCardGame.PlayableCard The PlayableCard with the specified CardInfo. Checks the board, the player's hand and miscellaneous card displays. GetShieldCount(PlayableCard) Declaration public static int GetShieldCount(this PlayableCard card) where T : DamageShieldBehaviour Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description System.Int32 Type Parameters Name Description T GetStatIconHealthBuffs(PlayableCard) Gets the health adjustment given by a PlayableCard's Stat Icon. Declaration public static int GetStatIconHealthBuffs(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. Returns Type Description System.Int32 How much Health the Stat Icon gives. GetTotalShields(PlayableCard) Gets the number of shields the target card has. Each shield negates one damaging hit. Declaration public static int GetTotalShields(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. Returns Type Description System.Int32 The number of shields the card has. GetTransformerCardId(CardInfo) Gets the string value of the extended property TransformerCardId. Can be null. Declaration public static string GetTransformerCardId(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description System.String The string value of the extended property TransformerCardId. GetTransformerCardId(PlayableCard) Gets the string value of the extended property TransformerCardId. Can be null. Declaration public static string GetTransformerCardId(this PlayableCard item) Parameters Type Name Description DiskCardGame.PlayableCard item PlayableCard to access. Returns Type Description System.String The string value of the extended property TransformerCardId. HasAllAbilities(CardInfo, Ability[]) Checks if the CardInfo has all of the given Abilities. Declaration public static bool HasAllAbilities(this CardInfo cardInfo, params Ability[] abilities) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Ability [] abilities The Abilities to check for. Returns Type Description System.Boolean Returns true if cardInfo has all of the given Abilities. HasAllAbilities(PlayableCard, Ability[]) Check if the PlayableCard has all of the given abilities. A condensed version of CardInfo.HasAllAbilities . Declaration public static bool HasAllAbilities(this PlayableCard playableCard, params Ability[] abilities) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Ability [] abilities The Abilities to check for. Returns Type Description System.Boolean Returns true if playableCard has all of the given Abilities. HasAllSpecialAbilities(CardInfo, SpecialTriggeredAbility[]) Checks if the CardInfo has all of the specified SpecialTriggeredAbilities. Declaration public static bool HasAllSpecialAbilities(this CardInfo cardInfo, params SpecialTriggeredAbility[] specialAbilities) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.SpecialTriggeredAbility [] specialAbilities The SpecialTriggeredAbilities to check for. Returns Type Description System.Boolean Returns true if cardInfo has all of the specified SpecialTriggeredAbilities. HasAllSpecialAbilities(PlayableCard, SpecialTriggeredAbility[]) Checks if the PlayableCard has all of the specified SpecialTriggeredAbilities. A condensed version of CardInfo.HasAllSpecialAbilities . Declaration public static bool HasAllSpecialAbilities(this PlayableCard playableCard, params SpecialTriggeredAbility[] specialAbilities) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.SpecialTriggeredAbility [] specialAbilities The SpecialTriggeredAbilities to check for. Returns Type Description System.Boolean Returns true if playableCard has all of the specified SpecialTriggeredAbilities. HasAllTraits(CardInfo, Trait[]) Checks if the CardInfo has all of the specified Traits. Declaration public static bool HasAllTraits(this CardInfo cardInfo, params Trait[] traits) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Trait [] traits The Traits to check for. Returns Type Description System.Boolean Returns true if cardInfo has all of the specified Traits. HasAllTraits(PlayableCard, Trait[]) Checks if the PlayableCard has all of the specified Traits. Declaration public static bool HasAllTraits(this PlayableCard playableCard, params Trait[] traits) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Trait [] traits The Traits to check for. Returns Type Description System.Boolean Returns true if playableCard has all of the specified Traits. HasAlternatePortrait(CardInfo) Declaration public static bool HasAlternatePortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasAlternatePortrait(PlayableCard) Declaration public static bool HasAlternatePortrait(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description System.Boolean HasAnyOfAbilities(CardInfo, Ability[]) Checks if the CardInfo has any of the specified Abilities. Declaration public static bool HasAnyOfAbilities(this CardInfo cardInfo, params Ability[] abilities) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Ability [] abilities The Abilities to check for. Returns Type Description System.Boolean Returns true if cardInfo has at least one of the given Abilities. HasAnyOfAbilities(PlayableCard, Ability[]) Check if the PlayableCard has any of the specified Abilities. A condensed version of CardInfo.HasAnyOfAbilities . Declaration public static bool HasAnyOfAbilities(this PlayableCard playableCard, params Ability[] abilities) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Ability [] abilities The Abilities to check for. Returns Type Description System.Boolean Returns true if playableCard has at least one of the given Abilities. HasAnyOfCardMetaCategories(CardInfo, CardMetaCategory[]) Checks if the CardInfo has any of the specified CardMetaCategories. Declaration public static bool HasAnyOfCardMetaCategories(this CardInfo cardInfo, params CardMetaCategory[] metaCategories) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.CardMetaCategory [] metaCategories The CardMetaCategories to check for. Returns Type Description System.Boolean Returns true if the card has at least one of the specified CardMetaCategories. HasAnyOfSpecialAbilities(CardInfo, SpecialTriggeredAbility[]) Checks if the CardInfo has any of the specified SpecialTriggeredAbilities. Declaration public static bool HasAnyOfSpecialAbilities(this CardInfo cardInfo, params SpecialTriggeredAbility[] specialAbilities) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.SpecialTriggeredAbility [] specialAbilities The SpecialTriggeredAbilities to check for. Returns Type Description System.Boolean Returns true if cardInfo has at least one of the specified SpecialTriggeredAbilities. HasAnyOfSpecialAbilities(PlayableCard, SpecialTriggeredAbility[]) Checks if the PlayableCard has any of the specified SpecialTriggeredAbilities. A condensed version of CardInfo.HasAnyOfSpecialAbilities . Declaration public static bool HasAnyOfSpecialAbilities(this PlayableCard playableCard, params SpecialTriggeredAbility[] specialAbilities) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.SpecialTriggeredAbility [] specialAbilities The SpecialTriggeredAbilities to check for. Returns Type Description System.Boolean Returns true if playableCard has at least one of the specified SpecialTriggeredAbilities. HasAnyOfTraits(CardInfo, Trait[]) Checks if the CardInfo has any of the specified Traits. Declaration public static bool HasAnyOfTraits(this CardInfo cardInfo, params Trait[] traits) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Trait [] traits The Traits to check for. Returns Type Description System.Boolean Returns true if cardInfo has at least one of the specified Traits. HasAnyOfTraits(PlayableCard, Trait[]) Checks if the PlayableCard has any of the specified Traits. Declaration public static bool HasAnyOfTraits(this PlayableCard playableCard, params Trait[] traits) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Trait [] traits The Traits to check for. Returns Type Description System.Boolean Returns true if playableCard has at least one of the specified Traits. HasBrokenShieldPortrait(CardInfo) Declaration public static bool HasBrokenShieldPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasCardMetaCategory(CardInfo, CardMetaCategory) Checks if the CardInfo has a specific CardMetaCategory. Declaration public static bool HasCardMetaCategory(this CardInfo cardInfo, CardMetaCategory metaCategory) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.CardMetaCategory metaCategory Returns Type Description System.Boolean Returns true if the card is does not have the specified CardMetaCategory. HasCustomCost(CardInfo, CardCostManager.FullCardCost) Declaration public static bool HasCustomCost(this CardInfo info, CardCostManager.FullCardCost customCost) Parameters Type Name Description DiskCardGame.CardInfo info CardCostManager.FullCardCost customCost Returns Type Description System.Boolean HasOpposingCard(PlayableCard) Check if the PlayableCard has a card opposing it in the opposite slot. Also acts as a null check if this PlayableCard is in a slot. Declaration public static bool HasOpposingCard(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. Returns Type Description System.Boolean Returns true if a card exists in the opposing slot. HasPixelAlternatePortrait(CardInfo) Declaration public static bool HasPixelAlternatePortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasPixelBrokenShieldPortrait(CardInfo) Declaration public static bool HasPixelBrokenShieldPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasPixelSacrificablePortrait(CardInfo) Declaration public static bool HasPixelSacrificablePortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasPixelSteelTrapPortrait(CardInfo) Declaration public static bool HasPixelSteelTrapPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasSacrificablePortrait(CardInfo) Declaration public static bool HasSacrificablePortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasSpecialAbility(CardInfo, SpecialTriggeredAbility) Checks if the CardInfo has a specific SpecialTriggeredAbility. A condensed version of cardInfo.SpecialAbilities.Contains(ability) . Declaration public static bool HasSpecialAbility(this CardInfo cardInfo, SpecialTriggeredAbility ability) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.SpecialTriggeredAbility ability The specialTriggeredAbility to check for. Returns Type Description System.Boolean Returns true if the specialTriggeredAbility does exist. HasSpecialAbility(PlayableCard, SpecialTriggeredAbility) Check the PlayableCard having a specific SpecialTriggeredAbility. A condensed version of playableCard.Info.SpecialAbilities.Contains(ability) . Declaration public static bool HasSpecialAbility(this PlayableCard playableCard, SpecialTriggeredAbility ability) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.SpecialTriggeredAbility ability The specialTriggeredAbility to check for. Returns Type Description System.Boolean Returns true if the specialTriggeredAbility does exist. HasSteelTrapPortrait(CardInfo) Declaration public static bool HasSteelTrapPortrait(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Returns Type Description System.Boolean HasTrait(PlayableCard, Trait) Checks if the card has a specific Trait. Declaration public static bool HasTrait(this PlayableCard playableCard, Trait trait) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Trait trait The trait to check for. Returns Type Description System.Boolean Returns true if the card has the specified trait. IsAffectedByTidalLock(CardInfo) Checks if this card info will be killed by the effect of Tidal Lock. Declaration public static bool IsAffectedByTidalLock(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description System.Boolean True if the card info is affected by Tidal Lock. IsAffectedByTidalLock(PlayableCard) Checks if this card will be killed by the effect of Tidal Lock. Declaration public static bool IsAffectedByTidalLock(this PlayableCard item) Parameters Type Name Description DiskCardGame.PlayableCard item PlayableCard to access. Returns Type Description System.Boolean True if the card is affected by Tidal Lock. IsBaseGameCard(CardInfo) Indicates if this is a base game card or not. Declaration public static bool IsBaseGameCard(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description System.Boolean True of this card came from the base game; false otherwise. IsGemified(PlayableCard) Declaration public static bool IsGemified(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description System.Boolean IsNotOfTribe(CardInfo, Tribe) Checks if the CardInfo does not belong to a specific Tribe. Declaration public static bool IsNotOfTribe(this CardInfo cardInfo, Tribe tribe) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Tribe tribe The tribe to check for. Returns Type Description System.Boolean Returns true if the card is not of the specified tribe. IsNotOfTribe(PlayableCard, Tribe) Checks if the PlayableCard is not of a specified Tribe. Declaration public static bool IsNotOfTribe(this PlayableCard playableCard, Tribe tribe) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Tribe tribe The tribe to check for. Returns Type Description System.Boolean Returns true if the card is not of the specified tribe. IsOfTribe(PlayableCard, Tribe) Checks if the PlayableCard is of a specified Tribe. Declaration public static bool IsOfTribe(this PlayableCard playableCard, Tribe tribe) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Tribe tribe The tribe to check for. Returns Type Description System.Boolean Returns true if the card is of the specified tribe. IsPelt(CardInfo) Declaration public static bool IsPelt(this CardInfo cardInfo) Parameters Type Name Description DiskCardGame.CardInfo cardInfo Returns Type Description System.Boolean IsPlayerCard(PlayableCard) Checks if the card is not the opponent's card. Declaration public static bool IsPlayerCard(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. Returns Type Description System.Boolean Returns true if card is not the opponent's card. IsTerrain(CardInfo) Declaration public static bool IsTerrain(this CardInfo cardInfo) Parameters Type Name Description DiskCardGame.CardInfo cardInfo Returns Type Description System.Boolean IsUsingBlueGem(PlayableCard) Declaration public static bool IsUsingBlueGem(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description System.Boolean LacksAbility(CardInfo, Ability) Checks if the CardInfo does not have a specific Ability. Declaration public static bool LacksAbility(this CardInfo cardInfo, Ability ability) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Ability ability The ability to check for. Returns Type Description System.Boolean Returns true if the ability does not exist. LacksAbility(CardModificationInfo, Ability) Checks if the CardModificationInfo does not have a specific Ability. Declaration public static bool LacksAbility(this CardModificationInfo mod, Ability ability) Parameters Type Name Description DiskCardGame.CardModificationInfo mod CardModificationInfo to access. DiskCardGame.Ability ability The ability to check for. Returns Type Description System.Boolean Returns true if the ability does not exist. LacksAbility(PlayableCard, Ability) Check the PlayableCard not having a specific Ability. Declaration public static bool LacksAbility(this PlayableCard playableCard, Ability ability) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Ability ability The ability to check for. Returns Type Description System.Boolean Returns true if the ability does not exist. LacksAllAbilities(CardInfo, Ability[]) Checks if the CardInfo has none of the specified Abilities. Declaration public static bool LacksAllAbilities(this CardInfo cardInfo, params Ability[] abilities) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Ability [] abilities The Abilities to check for. Returns Type Description System.Boolean Returns true if cardInfo has none of the given Abilities. LacksAllAbilities(PlayableCard, Ability[]) Checks if the PlayableCard has none of the specified Abilities. A condensed version of CardInfo.LacksAllSpecialAbilities . Declaration public static bool LacksAllAbilities(this PlayableCard playableCard, params Ability[] abilities) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Ability [] abilities The Abilities to check for. Returns Type Description System.Boolean Returns true if playableCard has none of the given Abilities. LacksAllCardMetaCategories(CardInfo, CardMetaCategory[]) Checks if the CardInfo has none of the specified CardMetaCategories. Declaration public static bool LacksAllCardMetaCategories(this CardInfo cardInfo, params CardMetaCategory[] metaCategories) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.CardMetaCategory [] metaCategories The CardMetaCategories to check for. Returns Type Description System.Boolean Returns true if the card has none of the specified CardMetaCategories. LacksAllSpecialAbilities(CardInfo, SpecialTriggeredAbility[]) Checks if the CardInfo has none of the specified SpecialTriggeredAbilities. Declaration public static bool LacksAllSpecialAbilities(this CardInfo cardInfo, params SpecialTriggeredAbility[] specialAbilities) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.SpecialTriggeredAbility [] specialAbilities The SpecialTriggeredAbilitiess to check for. Returns Type Description System.Boolean Returns true if cardInfo has none of the specified SpecialTriggeredAbilities. LacksAllSpecialAbilities(PlayableCard, SpecialTriggeredAbility[]) Checks if the PlayableCard has none of the specified SpecialTriggeredAbilities. A condensed version of CardInfo.LacksAllSpecialAbilities . Declaration public static bool LacksAllSpecialAbilities(this PlayableCard playableCard, params SpecialTriggeredAbility[] specialAbilities) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.SpecialTriggeredAbility [] specialAbilities The SpecialTriggeredAbilitiess to check for. Returns Type Description System.Boolean Returns true if playableCard has none of the specified SpecialTriggeredAbilities. LacksAllTraits(CardInfo, Trait[]) Checks if the CardInfo has none of the specified Traits. Declaration public static bool LacksAllTraits(this CardInfo cardInfo, params Trait[] traits) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Trait [] traits The Traits to check for. Returns Type Description System.Boolean Returns true if cardInfo has none of the specified Traits. LacksAllTraits(PlayableCard, Trait[]) Checks if the PlayableCard has none of the specified Traits. Declaration public static bool LacksAllTraits(this PlayableCard playableCard, params Trait[] traits) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Trait [] traits The Traits to check for. Returns Type Description System.Boolean Returns true if playableCard has none of the specified Traits. LacksCardMetaCategory(CardInfo, CardMetaCategory) Checks if the CardInfo does not have a specific CardMetaCategory. Declaration public static bool LacksCardMetaCategory(this CardInfo cardInfo, CardMetaCategory metaCategory) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.CardMetaCategory metaCategory The CardMetaCategory to check for. Returns Type Description System.Boolean Returns true if the card is does not have the specified CardMetaCategory. LacksSpecialAbility(CardInfo, SpecialTriggeredAbility) Checks if the CardInfo does not have a specific SpecialTriggeredAbility. Declaration public static bool LacksSpecialAbility(this CardInfo cardInfo, SpecialTriggeredAbility ability) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.SpecialTriggeredAbility ability The specialTriggeredAbility to check for. Returns Type Description System.Boolean Returns true if the specialTriggeredAbility does not exist. LacksSpecialAbility(PlayableCard, SpecialTriggeredAbility) Check the PlayableCard not having a specific SpecialTriggeredAbility. A condensed version of !playableCard.Info.SpecialAbilities.Contains(ability) . Declaration public static bool LacksSpecialAbility(this PlayableCard playableCard, SpecialTriggeredAbility ability) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.SpecialTriggeredAbility ability The specialTriggeredAbility to check for. Returns Type Description System.Boolean Returns true if the specialTriggeredAbility does not exist. LacksTrait(CardInfo, Trait) Checks if the CardInfo does not have a specific Trait. Declaration public static bool LacksTrait(this CardInfo cardInfo, Trait trait) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. DiskCardGame.Trait trait The Trait to check for. Returns Type Description System.Boolean Returns true if the card is does not have the specified Trait. LacksTrait(PlayableCard, Trait) Checks if the card does not have a specific Trait. Declaration public static bool LacksTrait(this PlayableCard playableCard, Trait trait) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. DiskCardGame.Trait trait The trait to check for. Returns Type Description System.Boolean Returns true if the card does not have the specified trait. ModPrefixIs(CardInfo, String) Checks whether the card's mod prefix is equal to the given string. Declaration public static bool ModPrefixIs(this CardInfo info, string prefixToMatch) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String prefixToMatch The prefix to check for. Returns Type Description System.Boolean True if the CardInfo's mod prefix equals prefixToMatch. NotDead(PlayableCard) Checks if the card is not null and not Dead. Declaration public static bool NotDead(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. Returns Type Description System.Boolean Returns true if the card is not null or not Dead. OpposingCard(PlayableCard) Retrieve the PlayableCard that is opposing this PlayableCard in the opposite slot. Declaration public static PlayableCard OpposingCard(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. Returns Type Description DiskCardGame.PlayableCard The card in the opposing slot, otherwise return null. Remarks It is on the implementer to check if the returned value is not null OpposingSlot(PlayableCard) Retrieve the CardSlot object that is opposing this PlayableCard. Declaration public static CardSlot OpposingSlot(this PlayableCard playableCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard PlayableCard to access. Returns Type Description DiskCardGame.CardSlot The card slot opposite of this playableCard, otherwise return null. Remarks It is on the implementer to check if the returned value is not null OtherCardIsOnSameSide(PlayableCard, PlayableCard) Check if the other PlayableCard is on the same side of the board as this PlayableCard. Declaration public static bool OtherCardIsOnSameSide(this PlayableCard playableCard, PlayableCard otherCard) Parameters Type Name Description DiskCardGame.PlayableCard playableCard The PlayableCard to access. DiskCardGame.PlayableCard otherCard The other PlayableCard. Returns Type Description System.Boolean Returns true if both cards are on the board and both are on the opponent cards or both are player cards. OwnerHasBlueGem(PlayableCard) Declaration public static bool OwnerHasBlueGem(this PlayableCard card) Parameters Type Name Description DiskCardGame.PlayableCard card Returns Type Description System.Boolean RemoveAbilities(CardInfo, Ability[]) Removes all stacks of any number of abilities from the card. Declaration public static CardInfo RemoveAbilities(this CardInfo info, params Ability[] abilities) Parameters Type Name Description DiskCardGame.CardInfo info Card to access. DiskCardGame.Ability [] abilities The abilities to remove. Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. RemoveAbilitiesSingle(CardInfo, Ability[]) Removes any number of abilities from the card. Will remove one instance of each passed ability; multiple instances can be passed. Declaration public static CardInfo RemoveAbilitiesSingle(this CardInfo info, params Ability[] abilities) Parameters Type Name Description DiskCardGame.CardInfo info Card to access. DiskCardGame.Ability [] abilities The abilities to remove. Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. RemoveAppearances(CardInfo, CardAppearanceBehaviour.Appearance[]) Removes any number of appearance behaviors from the card. Declaration public static CardInfo RemoveAppearances(this CardInfo info, params CardAppearanceBehaviour.Appearance[] appearances) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardAppearanceBehaviour.Appearance [] appearances The appearances to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveAppearancesSingle(CardInfo, CardAppearanceBehaviour.Appearance[]) Removes any number of appearance behaviors from the card. Will remove one instance of each passed appearance; multiple instances can be passed. Declaration public static CardInfo RemoveAppearancesSingle(this CardInfo info, params CardAppearanceBehaviour.Appearance[] appearances) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardAppearanceBehaviour.Appearance [] appearances The appearances to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveCardMetaCategories(CardInfo, CardMetaCategory[]) Removes any number of CardMetaCategories from the card. Declaration public static CardInfo RemoveCardMetaCategories(this CardInfo info, params CardMetaCategory[] cardMetaCategories) Parameters Type Name Description DiskCardGame.CardInfo info Card to access. DiskCardGame.CardMetaCategory [] cardMetaCategories The CardMetaCategories to remove. Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. RemoveCardModificationInfo(PlayableCard, CardModificationInfo, Boolean) Removes the provided CardModificationInfo from the PlayableCard. Searches both its TemporaryMods list and its CardInfo.Mods list. Declaration public static bool RemoveCardModificationInfo(this PlayableCard playableCard, CardModificationInfo modToRemove, bool updateDisplay = true) Parameters Type Name Description DiskCardGame.PlayableCard playableCard The PlayableCard to access. DiskCardGame.CardModificationInfo modToRemove The CardModificationInfo object to remove. System.Boolean updateDisplay Whether or not to call OnStatsChanged after removing the card mod. Returns Type Description System.Boolean True if the mod was successfully removed or false if the mod was not removed or was null. RemoveDecals(CardInfo, Texture[]) Removes any number of decals from the card. Declaration public static CardInfo RemoveDecals(this CardInfo info, params Texture[] decals) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture [] decals The decals to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveDecalsSingle(CardInfo, Texture[]) Removes any number of decals behaviors from the card. Will remove one instance of each passed decals; multiple instances can be passed. Declaration public static CardInfo RemoveDecalsSingle(this CardInfo info, params Texture[] decals) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture [] decals The decals to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveMetaCategories(CardInfo, CardMetaCategory[]) Removes any number of metacategories from the card. Declaration public static CardInfo RemoveMetaCategories(this CardInfo info, params CardMetaCategory[] categories) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardMetaCategory [] categories The categories to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveMetaCategoriesSingle(CardInfo, CardMetaCategory[]) Removes any number of metacategories behaviors from the card. Will remove one instance of each passed appearance; multiple instances can be passed. Declaration public static CardInfo RemoveMetaCategoriesSingle(this CardInfo info, params CardMetaCategory[] categories) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardMetaCategory [] categories The categories to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveShieldCount(PlayableCard, Int32, Ability, Boolean) Reduces the amount of shields a specific ability is currently giving. Declaration public static void RemoveShieldCount(this PlayableCard card, int amount, Ability ability, bool updateDisplay = true) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. System.Int32 amount How many shields to add. DiskCardGame.Ability ability The shield-giving ability to remove shields from. System.Boolean updateDisplay Whether to update the card's display, meaning sigil stack numbers and any shield effects. RemoveShieldCount(PlayableCard, Int32, Boolean) Reduces the amount of shields a specific ability is currently giving. Declaration public static void RemoveShieldCount(this PlayableCard card, int amount, bool updateDisplay = true) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. System.Int32 amount How many shields to add. System.Boolean updateDisplay Whether to update the card's display, meaning sigil stack numbers and any shield effects. RemoveShieldCount(PlayableCard, Int32, Boolean) Declaration public static void RemoveShieldCount(this PlayableCard card, int amount, bool updateDisplay = true) where T : DamageShieldBehaviour Parameters Type Name Description DiskCardGame.PlayableCard card System.Int32 amount System.Boolean updateDisplay Type Parameters Name Description T RemoveSpecialAbilities(CardInfo, SpecialTriggeredAbility[]) Removes any number of special abilities from the card. Declaration public static CardInfo RemoveSpecialAbilities(this CardInfo info, params SpecialTriggeredAbility[] abilities) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.SpecialTriggeredAbility [] abilities The special abilities to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveSpecialAbilitiesSingle(CardInfo, SpecialTriggeredAbility[]) Removes any number of special abilities from the card. Will remove one instance of each passed ability; multiple instances can be passed. Declaration public static CardInfo RemoveSpecialAbilitiesSingle(this CardInfo info, params SpecialTriggeredAbility[] abilities) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.SpecialTriggeredAbility [] abilities The special abilities to remove. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. RemoveTemporaryMods(PlayableCard, CardModificationInfo[]) Declaration public static void RemoveTemporaryMods(this PlayableCard card, params CardModificationInfo[] mods) Parameters Type Name Description DiskCardGame.PlayableCard card DiskCardGame.CardModificationInfo [] mods RemoveTraits(CardInfo, Trait[]) Removes any number of traits from the card. Declaration public static CardInfo RemoveTraits(this CardInfo info, params Trait[] traits) Parameters Type Name Description DiskCardGame.CardInfo info Card to access. DiskCardGame.Trait [] traits The traits to remove. Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. RemoveTribes(CardInfo, Tribe[]) Removes any number of traits from the card. Declaration public static CardInfo RemoveTribes(this CardInfo info, params Tribe[] tribes) Parameters Type Name Description DiskCardGame.CardInfo info Card to access. DiskCardGame.Tribe [] tribes The tribes to remove. Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. ResetShield(PlayableCard, Ability) A variant of ResetShield that only resets shields belonging is a certain ability. Declaration public static void ResetShield(this PlayableCard card, Ability ability) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. DiskCardGame.Ability ability The shield ability to look for. SetAffectedByTidalLock(CardInfo, Boolean) Sets whether the card should be killed by Tidal Lock's effect. Declaration public static CardInfo SetAffectedByTidalLock(this CardInfo info, bool affectedByTidalLock = true) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Boolean affectedByTidalLock Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetAltPortrait(CardInfo, String) Sets the card's alternate portrait. This portrait is only used when asked for by an ability or an appearance behavior. Declaration public static CardInfo SetAltPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetAltPortrait(CardInfo, Sprite) Sets the card's alternate portrait. This portrait is only used when asked for by an ability or an appearance behavior. Declaration public static CardInfo SetAltPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Sprite portrait The sprite containing the card portrait. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetAltPortrait(CardInfo, Texture2D, Nullable) Sets the card's alternate portrait. This portrait is only used when asked for by an ability or an appearance behavior. Declaration public static CardInfo SetAltPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetAnimatedPortrait(CardInfo, GameObject) Sets the animated portrait for the given CardInfo. Declaration public static CardInfo SetAnimatedPortrait(this CardInfo info, GameObject portrait) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. GameObject portrait The to check for. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetBaseAttackAndHealth(CardInfo, Nullable, Nullable) Sets the base attack and health of the card. Declaration public static CardInfo SetBaseAttackAndHealth(this CardInfo info, int? baseAttack = 0, int? baseHealth = 0) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Nullable < System.Int32 > baseAttack The base attack for the card. System.Nullable < System.Int32 > baseHealth The base health for the card. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetBasic(CardInfo, String, Int32, Int32, String) Sets a number of basic properties of the card Declaration public static CardInfo SetBasic(this CardInfo info, string displayedName, int attack, int health, string description = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String displayedName Displayed name of the card. System.Int32 attack Attack of the card. System.Int32 health Health of the card. System.String description The description that plays when the card is seen for the first time. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetBloodCost(CardInfo, Nullable) Sets the blood cost of the card. Declaration public static CardInfo SetBloodCost(this CardInfo info, int? bloodCost = 0) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Nullable < System.Int32 > bloodCost The cost in blood (sacrifices). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetBonesCost(CardInfo, Nullable) Sets the bones cost of the card. Declaration public static CardInfo SetBonesCost(this CardInfo info, int? bonesCost = 0) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Nullable < System.Int32 > bonesCost The cost in bones. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetBrokenShieldPortrait(CardInfo, String) Sets the card's alternate broken shield portrait. This portrait is only used when a card with a shield-giving sigil loses all its shields. Declaration public static CardInfo SetBrokenShieldPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetBrokenShieldPortrait(CardInfo, Sprite) Declaration public static CardInfo SetBrokenShieldPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetBrokenShieldPortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetBrokenShieldPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetCardComplexity(CardInfo, CardComplexity) Sets the CardComplexity for the card. Used mainly in Act 1 to determine whether a certain is obtainable. Vanilla: unlocked and learned by default Simple: unlocked by default Intermediate: unlocked after the second tutorial Advanced: unlocked after the third tutorial if all its abilities have been learned Declaration public static CardInfo SetCardComplexity(this CardInfo info, CardComplexity complexity) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardComplexity complexity The CardComplexity to use. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetCardTemple(CardInfo, CardTemple) Sets the CardTemple for the card. Used to determine what cards are obtainable in each Act. Act 1 uses Nature cards, Act 2 uses all Temples for each region, Act 3 uses Tech cards. Declaration public static CardInfo SetCardTemple(this CardInfo info, CardTemple temple) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. CardTemple temple The CardTemple to use. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetCost(CardInfo, Nullable, Nullable, Nullable, List) Sets the cost of the card. Any and all costs can be set this way. Declaration public static CardInfo SetCost(this CardInfo info, int? bloodCost = 0, int? bonesCost = 0, int? energyCost = 0, List gemsCost = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Nullable < System.Int32 > bloodCost The cost in blood (sacrifices). System.Nullable < System.Int32 > bonesCost The cost in bones. System.Nullable < System.Int32 > energyCost The cost in energy. List < DiskCardGame.GemType > gemsCost The cost in gems. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetCustomCost(CardInfo, CardCostManager.FullCardCost, Int32) Sets a card's custom cost property using the provided FullCardCost object as a reference. Declaration public static CardInfo SetCustomCost(this CardInfo info, CardCostManager.FullCardCost customCost, int amount) Parameters Type Name Description DiskCardGame.CardInfo info The CardInfo to modify. CardCostManager.FullCardCost customCost The FullCardCost representing the cost we want to set. System.Int32 amount How much of the custom cost the CardInfo should need to be played. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetCustomCost(CardInfo, String, Int32) A variant of SetExtendedProperty intended to be used to set properties representing custom costs. Primarily provided for clarity of purpose. Declaration public static CardInfo SetCustomCost(this CardInfo info, string costName, int amount) Parameters Type Name Description DiskCardGame.CardInfo info The CardInfo to modify. System.String costName The name of the cost we want to set. System.Int32 amount How much of the custom cost the CardInfo should need to be played. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetCustomCost(CardInfo, Int32) Declaration public static CardInfo SetCustomCost(this CardInfo info, int amount) where T : CustomCardCost Parameters Type Name Description DiskCardGame.CardInfo info System.Int32 amount Returns Type Description DiskCardGame.CardInfo Type Parameters Name Description T SetCustomUnlockCheck(CardInfo, Func) Sets the custom unlock check for the card. Some parts require a card is unlocked before it can be obtained or used. Declaration public static CardInfo SetCustomUnlockCheck(this CardInfo c, Func check) Parameters Type Name Description DiskCardGame.CardInfo c The card. Func < System.Boolean , System.Int32 , System.Boolean > check The custom unlock check, a func that needs to return true for the card to be unlocked. The bool argument is true when the game is in Kaycee's Mod mode and the int argument is the current Kaycee's Mod challenge level. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetDefaultEvolutionName(CardInfo, String) Sets the default evolution name for the card. This is the name used when the card doesn't evolve into another card. Declaration public static CardInfo SetDefaultEvolutionName(this CardInfo info, string defaultName) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String defaultName The default evolution name to use. Pass in 'null' to use the vanilla default. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetDefaultPart1Card(CardInfo) Sets the card to behave as a \"normal\" card in Part 1. The CardTemple is Nature and it will appear in choice nodes and trader nodes. Declaration public static CardInfo SetDefaultPart1Card(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetDefaultPart3Card(CardInfo) Sets the card to behave as a \"normal\" card in Part 3. The CardTemple is Tech and it will appear in choice nodes and as a potential random card from GiftBot. Declaration public static CardInfo SetDefaultPart3Card(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetDisplayedName(CardInfo, String) Sets the displayed name of the card. Declaration public static CardInfo SetDisplayedName(this CardInfo info, string displayedName) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String displayedName The displayed name for the card. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveAltPortrait(CardInfo, String) Sets the emissive alternate portrait for the card. This can only be done after the alternate portrait has been set (SetAltPortrait). Declaration public static CardInfo SetEmissiveAltPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveAltPortrait(CardInfo, Sprite) Sets the emissive alternate portrait for the card. This can only be done after the alternate portrait has been set (SetAltPortrait). Declaration public static CardInfo SetEmissiveAltPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Sprite portrait The sprite containing the emission. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveAltPortrait(CardInfo, Texture2D, Nullable) Sets the emissive alternate portrait for the card. This can only be done after the alternate portrait has been set (SetAltPortrait). Declaration public static CardInfo SetEmissiveAltPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the emission. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveBrokenShieldPortrait(CardInfo, String) Sets the emissive broken shield portrait for the card. This can only be done after the default broken shield portrait has been set (SetBrokenShieldPortrait). Declaration public static CardInfo SetEmissiveBrokenShieldPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveBrokenShieldPortrait(CardInfo, Sprite) Declaration public static CardInfo SetEmissiveBrokenShieldPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetEmissiveBrokenShieldPortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetEmissiveBrokenShieldPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetEmissivePortrait(CardInfo, String) Sets the emissive portrait for the card. This can only be done after the default portrait has been set (SetPortrait). Declaration public static CardInfo SetEmissivePortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissivePortrait(CardInfo, Sprite) Sets the emissive portrait for the card. This can only be done after the default portrait has been set (SetPortrait). Declaration public static CardInfo SetEmissivePortrait(this CardInfo info, Sprite sprite) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Sprite sprite The sprite containing the emission. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissivePortrait(CardInfo, Texture2D, Nullable) Sets the emissive portrait for the card. This can only be done after the default portrait has been set (SetPortrait). Declaration public static CardInfo SetEmissivePortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the emission. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveSacrificablePortrait(CardInfo, String) Sets the emissive sacrifcable portrait for the card. This can only be done after the sacrificable portrait has been set (SetSacrifablePortrait). Declaration public static CardInfo SetEmissiveSacrificablePortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveSacrificablePortrait(CardInfo, Sprite) Declaration public static CardInfo SetEmissiveSacrificablePortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetEmissiveSacrificablePortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetEmissiveSacrificablePortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetEmissiveSteelTrapPortrait(CardInfo, String) Sets the emissive steel trap portrait for the card. This can only be done after the default steel trap portrait has been set (SetSteelTrapPortrait). Declaration public static CardInfo SetEmissiveSteelTrapPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEmissiveSteelTrapPortrait(CardInfo, Sprite) Declaration public static CardInfo SetEmissiveSteelTrapPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetEmissiveSteelTrapPortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetEmissiveSteelTrapPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetEnergyCost(CardInfo, Nullable) Sets the energy cost of the card. Declaration public static CardInfo SetEnergyCost(this CardInfo info, int? energyCost = 0) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Nullable < System.Int32 > energyCost The cost in energy. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEvolve(CardInfo, CardInfo, Int32, IEnumerable) Sets the evolve parameters of the card. These parameters are used to make the Evolve ability function correctly. Declaration public static CardInfo SetEvolve(this CardInfo info, CardInfo evolveCard, int numberOfTurns, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardInfo evolveCard The card that will be generated after the set number of turns. System.Int32 numberOfTurns The number of turns before the card evolves. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the evolved card. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetEvolve(CardInfo, String, Int32, IEnumerable) Sets the evolve parameters of the card. These parameters are used to make the Evolve ability function correctly. This function uses delayed loading to attach the evolution to the card, so if the evolve card doesn't exist yet, this function will still work. Declaration public static CardInfo SetEvolve(this CardInfo info, string evolveInto, int numberOfTurns, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String evolveInto The name of card that will be generated after the set number of turns. System.Int32 numberOfTurns The number of turns before the card evolves. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the evolved card. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetExtendedProperty(CardInfo, String, Object) Adds a custom property value to the card. Declaration public static CardInfo SetExtendedProperty(this CardInfo info, string propertyName, object value) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String propertyName The name of the property to set. System.Object value The value of the property. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetGBCPlayable(CardInfo, CardTemple) Makes the card fully playable in GBC mode and able to appear in card packs. Declaration public static CardInfo SetGBCPlayable(this CardInfo info, CardTemple temple) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. CardTemple temple The temple that the card will exist under. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetGemify(CardInfo, Boolean) Sets whether the card should be Gemified or not. Can and will un-Gemify cards. Declaration public static CardInfo SetGemify(this CardInfo info, bool gemify = true) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Boolean gemify Whether the card should be gemified. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetGemsCost(CardInfo, GemType[]) Sets the gems cost of the card. Declaration public static CardInfo SetGemsCost(this CardInfo info, params GemType[] gemsCost) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.GemType [] gemsCost The cost in Mox. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetGemsCost(CardInfo, List) Sets the gems cost of the card. Declaration public static CardInfo SetGemsCost(this CardInfo info, List gemsCost = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. List < DiskCardGame.GemType > gemsCost The cost in Mox. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetHideStats(CardInfo, Boolean) Sets whether or not the card's Power and Health stats will be displayed. Declaration public static CardInfo SetHideStats(this CardInfo info, bool hideStats = true) Parameters Type Name Description DiskCardGame.CardInfo info System.Boolean hideStats Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. SetIceCube(CardInfo, CardInfo, IEnumerable) Sets the ice cube parameters of the card. These parameters are used to make the IceCube ability function correctly. Declaration public static CardInfo SetIceCube(this CardInfo info, CardInfo iceCube, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardInfo iceCube The card that will be generated when this card dies. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the ice cube contents. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetIceCube(CardInfo, String, IEnumerable) Sets the ice cube parameters of the card. These parameters are used to make the IceCube ability function correctly. This function uses delayed loading to attach the ice cube to the card, so if the ice cube card doesn't exist yet, this function will still work. Declaration public static CardInfo SetIceCube(this CardInfo info, string iceCubeName, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String iceCubeName The name of the card that will be generated when this card dies. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the ice cube contents. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetLostTailPortrait(CardInfo, String) Sets the card's lost tail portrait. This portrait is used when the card has the TailOnHit ability and has dodged a hit. Declaration public static CardInfo SetLostTailPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetLostTailPortrait(CardInfo, Texture2D, Nullable) Sets the card's lost tail portrait. This portrait is used when the card has the TailOnHit ability and has dodged a hit. Declaration public static CardInfo SetLostTailPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetLostTailPortrait(TailParams, String, CardInfo) Sets the card's lost tail portrait. This portrait is used when the card has the TailOnHit ability and has dodged a hit. Declaration public static TailParams SetLostTailPortrait(this TailParams info, string pathToArt, CardInfo owner) Parameters Type Name Description DiskCardGame.TailParams info Tail to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). DiskCardGame.CardInfo owner The card that the tail parameters belongs to. Returns Type Description DiskCardGame.TailParams The same TailParams so a chain can continue. SetLostTailPortrait(TailParams, Sprite, CardInfo) Sets the card's lost tail portrait. This portrait is used when the card has the TailOnHit ability and has dodged a hit. Declaration public static TailParams SetLostTailPortrait(this TailParams info, Sprite portrait, CardInfo owner) Parameters Type Name Description DiskCardGame.TailParams info Tail to access. Sprite portrait The sprite containing the card portrait. DiskCardGame.CardInfo owner The card that the tail parameters belongs to. Returns Type Description DiskCardGame.TailParams The same TailParams so a chain can continue. SetLostTailPortrait(TailParams, Texture2D, CardInfo, Nullable) Sets the card's lost tail portrait. This portrait is used when the card has the TailOnHit ability and has dodged a hit. Declaration public static TailParams SetLostTailPortrait(this TailParams info, Texture2D portrait, CardInfo owner, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.TailParams info Tail to access. Texture2D portrait The texture containing the card portrait. DiskCardGame.CardInfo owner The card that the tail parameters belongs to. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.TailParams The same TailParams so a chain can continue. SetName(CardInfo, String, String) Sets the name of the card. Declaration public static CardInfo SetName(this CardInfo info, string name, string modPrefix = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String name The name for the card. System.String modPrefix The string that will be prefixed to the card name if it doesn't already exist. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetNames(CardInfo, String, String, String) Sets the card name and displayed name of the card. Declaration public static CardInfo SetNames(this CardInfo info, string name, string displayedName, string modPrefix = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String name The name for the card. System.String displayedName The displayed name for the card. System.String modPrefix The string that will be prefixed to the card name if it doesn't already exist. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetOnePerDeck(CardInfo, Boolean) Sets the card's onePerDeck field, which controls whether the player can own multiple copies of it in their deck. Declaration public static CardInfo SetOnePerDeck(this CardInfo info, bool onePerDeck = true) Parameters Type Name Description DiskCardGame.CardInfo info System.Boolean onePerDeck Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. SetPelt(CardInfo, Boolean) Adds the Pelt trait and background to this card, and optionally adds the SpawnLice special ability. Declaration public static CardInfo SetPelt(this CardInfo info, bool spawnLice = true) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Boolean spawnLice Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelAlternatePortrait(CardInfo, String) Sets the card's pixel alternate portrait. This portrait is used when the card is displayed in GBC mode (Act 2). Declaration public static CardInfo SetPixelAlternatePortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelAlternatePortrait(CardInfo, Sprite) Sets the card's pixel alternate portrait. This portrait is used when the card is displayed in GBC mode (Act 2). Declaration public static CardInfo SetPixelAlternatePortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Sprite portrait The sprite containing the card portrait. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelAlternatePortrait(CardInfo, Texture2D, Nullable) Sets the card's pixel alternate portrait. This portrait is used when the card is displayed in GBC mode (Act 2). Declaration public static CardInfo SetPixelAlternatePortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelBrokenShieldPortrait(CardInfo, String) Sets the card's alternate pixel broken shield portrait. This portrait is only used in Act 2. Declaration public static CardInfo SetPixelBrokenShieldPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelBrokenShieldPortrait(CardInfo, Sprite) Declaration public static CardInfo SetPixelBrokenShieldPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetPixelBrokenShieldPortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetPixelBrokenShieldPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetPixelPortrait(CardInfo, String) Sets the card's pixel portrait. This portrait is used when the card is displayed in GBC mode (Act 2). Declaration public static CardInfo SetPixelPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelPortrait(CardInfo, Sprite) Sets the card's pixel portrait. This portrait is used when the card is displayed in GBC mode (Act 2). Declaration public static CardInfo SetPixelPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Sprite portrait The sprite containing the card portrait. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelPortrait(CardInfo, Texture2D, Nullable) Sets the card's pixel portrait. This portrait is used when the card is displayed in GBC mode (Act 2). Declaration public static CardInfo SetPixelPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelSacrificablePortrait(CardInfo, String) Sets the card's pixel sacrificable portrait. This portrait is only used in Act 2. Declaration public static CardInfo SetPixelSacrificablePortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelSacrificablePortrait(CardInfo, Sprite) Declaration public static CardInfo SetPixelSacrificablePortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetPixelSacrificablePortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetPixelSacrificablePortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetPixelSteelTrapPortrait(CardInfo, String) Sets the card's alternate steep trap portrait. This portrait is only used when the Steel Trap ability triggers in Act 2. Declaration public static CardInfo SetPixelSteelTrapPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPixelSteelTrapPortrait(CardInfo, Sprite) Declaration public static CardInfo SetPixelSteelTrapPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetPixelSteelTrapPortrait(CardInfo, Texture2D, Nullable) Sets the card's alternate steep trap portrait. This portrait is only used when the Steel Trap ability triggers in Act 2. Declaration public static CardInfo SetPixelSteelTrapPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPortrait(CardInfo, String) Sets the default card portrait for the card Declaration public static CardInfo SetPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPortrait(CardInfo, Sprite) Sets the default card portrait for the card Declaration public static CardInfo SetPortrait(this CardInfo info, Sprite sprite) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Sprite sprite The sprite containing the card portrait. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPortrait(CardInfo, Texture2D, Nullable) Sets the default card portrait for the card Declaration public static CardInfo SetPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPortrait(CardInfo, Texture2D, Texture2D, Nullable) Sets the cards portrait and emission at the same time. Declaration public static CardInfo SetPortrait(this CardInfo info, Texture2D portrait, Texture2D emission, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait The texture containing the card portrait. Texture2D emission The texture containing the emission. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo . SetPortraitAndEmission(CardInfo, String, String) Sets the cards portrait and emission at the same time. Declaration public static CardInfo SetPortraitAndEmission(this CardInfo info, string pathToArt, string pathToEmission) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). System.String pathToEmission The path to the .png file containing the emission artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPortraitAndEmission(CardInfo, Sprite, Sprite) Sets the cards portrait and emission at the same time. Declaration public static CardInfo SetPortraitAndEmission(this CardInfo info, Sprite portrait, Sprite emission) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Sprite portrait The sprite containing the card portrait. Sprite emission The sprite containing the emission. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetPortraitAndEmission(CardInfo, Texture2D, Texture2D, Nullable) Sets the cards portrait and emission at the same time. Declaration public static CardInfo SetPortraitAndEmission(this CardInfo info, Texture2D portrait, Texture2D emission, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Texture2D portrait The texture containing the card portrait. Texture2D emission The texture containing the emission. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetRare(CardInfo) Sets the card so it shows up for rare card choices and applies the rare background. Declaration public static CardInfo SetRare(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetSacrificablePortrait(CardInfo, String) Sets the card's alternate sacricable portrait. This portrait is only used when a card with this CardInfo is on the board when the player is selecting sacrifices. Declaration public static CardInfo SetSacrificablePortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetSacrificablePortrait(CardInfo, Sprite) Declaration public static CardInfo SetSacrificablePortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetSacrificablePortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetSacrificablePortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetSpecialAbilities(CardInfo, SpecialTriggeredAbility[]) Sets the CardInfo's special abilities field to any number of special abilities to the card. Declaration public static CardInfo SetSpecialAbilities(this CardInfo info, params SpecialTriggeredAbility[] abilities) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.SpecialTriggeredAbility [] abilities The abilities to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetStatIcon(CardInfo, SpecialStatIcon) Sets the stat icon to the card. Declaration public static CardInfo SetStatIcon(this CardInfo info, SpecialStatIcon statIcon) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.SpecialStatIcon statIcon The stat icon to set. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetSteelTrapPortrait(CardInfo, String) Sets the card's alternate steep trap portrait. This portrait is only used when the Steel Trap ability triggers. Declaration public static CardInfo SetSteelTrapPortrait(this CardInfo info, string pathToArt) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String pathToArt The path to the .png file containing the portrait artwork (relative to the Plugins directory). Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetSteelTrapPortrait(CardInfo, Sprite) Declaration public static CardInfo SetSteelTrapPortrait(this CardInfo info, Sprite portrait) Parameters Type Name Description DiskCardGame.CardInfo info Sprite portrait Returns Type Description DiskCardGame.CardInfo SetSteelTrapPortrait(CardInfo, Texture2D, Nullable) Declaration public static CardInfo SetSteelTrapPortrait(this CardInfo info, Texture2D portrait, FilterMode? filterMode = null) Parameters Type Name Description DiskCardGame.CardInfo info Texture2D portrait System.Nullable < FilterMode > filterMode Returns Type Description DiskCardGame.CardInfo SetStrafeFlipsPortrait(CardInfo, Boolean) Sets whether or not the CardInfo's portrait will be flipped when Strafe and similar abilities change direction. Declaration public static CardInfo SetStrafeFlipsPortrait(this CardInfo info, bool flipPortrait = true) Parameters Type Name Description DiskCardGame.CardInfo info System.Boolean flipPortrait Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. SetTail(CardInfo, CardInfo, IEnumerable) Sets the tail parameters of the card. These parameters are used to make the TailOnHit ability function correctly. Declaration public static CardInfo SetTail(this CardInfo info, CardInfo tail, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardInfo tail The card that will be generated as the \"tail\" when the first hit is dodged. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the tail. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTail(CardInfo, CardInfo, Sprite, IEnumerable) Sets the tail parameters of the card. These parameters are used to make the TailOnHit ability function correctly. Declaration public static CardInfo SetTail(this CardInfo info, CardInfo tail, Sprite tailLostPortrait, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardInfo tail The card that will be generated as the \"tail\" when the first hit is dodged. Sprite tailLostPortrait The sprite containing the card portrait. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the tail. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTail(CardInfo, CardInfo, Texture2D, Nullable, IEnumerable) Sets the tail parameters of the card. These parameters are used to make the TailOnHit ability function correctly. Declaration public static CardInfo SetTail(this CardInfo info, CardInfo tail, Texture2D tailLostPortrait, FilterMode? filterMode = null, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.CardInfo tail The card that will be generated as the \"tail\" when the first hit is dodged. Texture2D tailLostPortrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the tail. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTail(CardInfo, String, IEnumerable) Sets the tail parameters of the card. These parameters are used to make the TailOnHit ability function correctly. This function uses delayed loading to attach the tail to the card, so if the tail card doesn't exist yet, this function will still work. Declaration public static CardInfo SetTail(this CardInfo info, string tailName, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String tailName The name of the card that will be generated as the \"tail\" when the first hit is dodged. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the tail. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTail(CardInfo, String, String, IEnumerable) Sets the tail parameters of the card. These parameters are used to make the TailOnHit ability function correctly. This function uses delayed loading to attach the tail to the card, so if the tail card doesn't exist yet, this function will still work. Declaration public static CardInfo SetTail(this CardInfo info, string tailName, string pathToLostTailArt = null, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String tailName The name of the card that will be generated as the \"tail\" when the first hit is dodged. System.String pathToLostTailArt The path to the .png file containing the lost tail artwork (relative to the Plugins directory). IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the tail. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTail(CardInfo, String, Sprite, IEnumerable) Sets the tail parameters of the card. These parameters are used to make the TailOnHit ability function correctly. This function uses delayed loading to attach the tail to the card, so if the tail card doesn't exist yet, this function will still work. Declaration public static CardInfo SetTail(this CardInfo info, string tailName, Sprite tailLostPortrait, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String tailName The name of the card that will be generated as the \"tail\" when the first hit is dodged. Sprite tailLostPortrait The sprite containing the card portrait. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the tail. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue.. SetTail(CardInfo, String, Texture2D, Nullable, IEnumerable) Sets the tail parameters of the card. These parameters are used to make the TailOnHit ability function correctly. This function uses delayed loading to attach the tail to the card, so if the tail card doesn't exist yet, this function will still work. Declaration public static CardInfo SetTail(this CardInfo info, string tailName, Texture2D tailLostPortrait, FilterMode? filterMode = null, IEnumerable mods = null) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String tailName The name of the card that will be generated as the \"tail\" when the first hit is dodged. Texture2D tailLostPortrait The texture containing the card portrait. System.Nullable < FilterMode > filterMode The filter mode for the texture, or null if no change. IEnumerable < DiskCardGame.CardModificationInfo > mods A set of card mods to be applied to the tail. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTerrain(CardInfo) Adds the terrain trait and background to this card. Declaration public static CardInfo SetTerrain(this CardInfo info) Parameters Type Name Description DiskCardGame.CardInfo info Card to access. Returns Type Description DiskCardGame.CardInfo The same card info so a chain can continue. SetTerrain(CardInfo, Boolean) Adds the Terrain trait and background to this card, with the option to not use TerrainLayout. Declaration public static CardInfo SetTerrain(this CardInfo info, bool useTerrainLayout) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.Boolean useTerrainLayout Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTraits(CardInfo, Trait[]) Sets any number of traits to the card. Declaration public static CardInfo SetTraits(this CardInfo info, params Trait[] traits) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.Trait [] traits The traits to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTransformerCardId(CardInfo, String) Sets whether the card should be killed by Tidal Lock's effect. Declaration public static CardInfo SetTransformerCardId(this CardInfo info, string transformerCardId) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. System.String transformerCardId Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SetTribes(CardInfo, Tribe[]) Set any number of tribes to the card. Declaration public static CardInfo SetTribes(this CardInfo info, params Tribe[] tribes) Parameters Type Name Description DiskCardGame.CardInfo info CardInfo to access. DiskCardGame.Tribe [] tribes The tribes to add. Returns Type Description DiskCardGame.CardInfo The same CardInfo so a chain can continue. SpawnInHand(CardInfo, List, Vector3, Single, Action) Spawns the CardInfo object to the player's hand. Declaration public static IEnumerator SpawnInHand(this CardInfo cardInfo, List temporaryMods = null, Vector3 spawnOffset = default(Vector3), float onDrawnTriggerDelay = 0F, Action cardSpawnedCallback = null) Parameters Type Name Description DiskCardGame.CardInfo cardInfo CardInfo to access. List < DiskCardGame.CardModificationInfo > temporaryMods The mods that will be added to the PlayableCard object. Vector3 spawnOffset The position of where the card will appear from. Default is a Vector3 of (0, 6, 1.5). System.Single onDrawnTriggerDelay The amount of time to wait before being added to the hand. Action < DiskCardGame.PlayableCard > cardSpawnedCallback The action to invoke after the card has spawned but before being added to the hand. One of two uses in the vanilla game is if the player has completed the event 'ImprovedSmokeCardDiscovered'. If this event is complete, the 'Improved Smoke' PlayableCard has the emissive portrait forced on and is then re-rendered. The other use is during Grimora's fight in Act 2. During the reanimation sequence, the background sprite is replaced with a rare card background. . Returns Type Description System.Collections.IEnumerator The enumeration of the card being placed in the player's hand. TransformIntoCardAboveHand(PlayableCard, CardInfo, Action, Action) A version of TransformIntoCardInHand that incorporates MoveCardAboveHand. Declaration public static IEnumerator TransformIntoCardAboveHand(this PlayableCard card, CardInfo evolvedInfo, Action onTransformedCallback = null, Action preTransformCallback = null) Parameters Type Name Description DiskCardGame.PlayableCard card DiskCardGame.CardInfo evolvedInfo Action onTransformedCallback Action preTransformCallback Returns Type Description System.Collections.IEnumerator TransformIntoCardInHand(PlayableCard, CardInfo, Action, Action) A version of TransformIntoCard tailored to visually work on cards in the hand. Declaration public static IEnumerator TransformIntoCardInHand(this PlayableCard card, CardInfo evolvedInfo, Action onTransformedCallback = null, Action preTransformCallback = null) Parameters Type Name Description DiskCardGame.PlayableCard card The PlayableCard to access. DiskCardGame.CardInfo evolvedInfo The CardInfo to change the card into. Action onTransformedCallback An Action to invoke after the evolvedInfo is set. Action preTransformCallback An Action to invoke before the evolvedInfo is set. Returns Type Description System.Collections.IEnumerator" }, "api/InscryptionAPI.Card.CardManager.CardAltPortraits.html": { "href": "api/InscryptionAPI.Card.CardManager.CardAltPortraits.html", diff --git a/manifest.json b/manifest.json index 52c9bed8..71294aeb 100644 --- a/manifest.json +++ b/manifest.json @@ -373,7 +373,7 @@ "output": { ".html": { "relative_path": "api/InscryptionAPI.Card.CardExtensions.html", - "hash": "vVI8grXqBzRxoWTmT988AHHCg9NaPQRGfDBcyYi+9tI=" + "hash": "YIOE77iXqj9TYayFt3Cuyv2QnY4Cb7TYIyI1fMMpfEM=" } }, "is_incremental": false, diff --git a/xrefmap.yml b/xrefmap.yml index eb1c6e4e..14d8ffcd 100644 --- a/xrefmap.yml +++ b/xrefmap.yml @@ -4060,6 +4060,22 @@ references: isSpec: "True" fullName: InscryptionAPI.Card.CardExtensions.GetPlayableCard nameWithType: CardExtensions.GetPlayableCard +- uid: InscryptionAPI.Card.CardExtensions.GetShieldCount* + name: GetShieldCount + href: api/InscryptionAPI.Card.CardExtensions.html#InscryptionAPI_Card_CardExtensions_GetShieldCount_ + commentId: Overload:InscryptionAPI.Card.CardExtensions.GetShieldCount + isSpec: "True" + fullName: InscryptionAPI.Card.CardExtensions.GetShieldCount + nameWithType: CardExtensions.GetShieldCount +- uid: InscryptionAPI.Card.CardExtensions.GetShieldCount``1(DiskCardGame.PlayableCard) + name: GetShieldCount(PlayableCard) + href: api/InscryptionAPI.Card.CardExtensions.html#InscryptionAPI_Card_CardExtensions_GetShieldCount__1_DiskCardGame_PlayableCard_ + commentId: M:InscryptionAPI.Card.CardExtensions.GetShieldCount``1(DiskCardGame.PlayableCard) + name.vb: GetShieldCount(Of T)(PlayableCard) + fullName: InscryptionAPI.Card.CardExtensions.GetShieldCount(DiskCardGame.PlayableCard) + fullName.vb: InscryptionAPI.Card.CardExtensions.GetShieldCount(Of T)(DiskCardGame.PlayableCard) + nameWithType: CardExtensions.GetShieldCount(PlayableCard) + nameWithType.vb: CardExtensions.GetShieldCount(Of T)(PlayableCard) - uid: InscryptionAPI.Card.CardExtensions.GetStatIconHealthBuffs(DiskCardGame.PlayableCard) name: GetStatIconHealthBuffs(PlayableCard) href: api/InscryptionAPI.Card.CardExtensions.html#InscryptionAPI_Card_CardExtensions_GetStatIconHealthBuffs_DiskCardGame_PlayableCard_