- "keywords": "Class SlotModificationExtensions Inheritance System.Object SlotModificationExtensions Namespace : InscryptionAPI.Slots Assembly : InscryptionAPI.dll Syntax public static class SlotModificationExtensions : object Methods ClearSlotModification(CardSlot) Clears the slot modification in this CardSlot, if one is present. Declaration public static IEnumerator ClearSlotModification(this CardSlot slot) Parameters Type Name Description CardSlot slot The slot to assign the modification to. Returns Type Description IEnumerator GetSlotModification(CardSlot) Gets the current modification of a slot Declaration public static SlotModificationManager.ModificationType GetSlotModification(this CardSlot slot) Parameters Type Name Description CardSlot slot Returns Type Description SlotModificationManager.ModificationType InfoByID(IEnumerable<SlotModificationManager.Info>, SlotModificationManager.ModificationType) Declaration public static SlotModificationManager.Info InfoByID(this IEnumerable<SlotModificationManager.Info> modInfos, SlotModificationManager.ModificationType mod) Parameters Type Name Description IEnumerable < SlotModificationManager.Info > modInfos SlotModificationManager.ModificationType mod Returns Type Description SlotModificationManager.Info ResetSlotTexture(CardSlot) Resets a slot's texture back to the default texture for that slot based on the current act. Declaration public static void ResetSlotTexture(this CardSlot slot) Parameters Type Name Description CardSlot slot SetRulebook(SlotModificationManager.ModificationType, String, String, Texture2D, SlotModificationManager.ModificationMetaCategory[]) Sets the rulebook description for a slot modification. Declaration public static SlotModificationManager.ModificationType SetRulebook(this SlotModificationManager.ModificationType mod, string rulebookName, string rulebookDescription, Texture2D rulebookSprite, params SlotModificationManager.ModificationMetaCategory[] categories) Parameters Type Name Description SlotModificationManager.ModificationType mod The ModificationType to add a rulebook description for. System.String rulebookName System.String rulebookDescription The rulebook description for the ModificationType. Texture2D rulebookSprite SlotModificationManager.ModificationMetaCategory [] categories What Acts the rulebook entry should appear in. Returns Type Description SlotModificationManager.ModificationType The same ModificationType. SetRulebookGrimoraSprite(SlotModificationManager.ModificationType, Texture2D) Declaration public static SlotModificationManager.ModificationType SetRulebookGrimoraSprite(this SlotModificationManager.ModificationType mod, Texture2D spriteTexture) Parameters Type Name Description SlotModificationManager.ModificationType mod Texture2D spriteTexture Returns Type Description SlotModificationManager.ModificationType SetRulebookMagnificusSprite(SlotModificationManager.ModificationType, Texture2D) Declaration public static SlotModificationManager.ModificationType SetRulebookMagnificusSprite(this SlotModificationManager.ModificationType mod, Texture2D spriteTexture) Parameters Type Name Description SlotModificationManager.ModificationType mod Texture2D spriteTexture Returns Type Description SlotModificationManager.ModificationType SetRulebookP03Sprite(SlotModificationManager.ModificationType, Texture2D) Declaration public static SlotModificationManager.ModificationType SetRulebookP03Sprite(this SlotModificationManager.ModificationType mod, Texture2D spriteTexture) Parameters Type Name Description SlotModificationManager.ModificationType mod Texture2D spriteTexture Returns Type Description SlotModificationManager.ModificationType SetSharedRulebook(SlotModificationManager.ModificationType, SlotModificationManager.ModificationType) Declaration public static SlotModificationManager.ModificationType SetSharedRulebook(this SlotModificationManager.ModificationType mod, SlotModificationManager.ModificationType sharedRulebookType) Parameters Type Name Description SlotModificationManager.ModificationType mod SlotModificationManager.ModificationType sharedRulebookType Returns Type Description SlotModificationManager.ModificationType SetSlotModification(CardSlot, SlotModificationManager.ModificationType) Assigns a new slot modification to a slot. Declaration public static IEnumerator SetSlotModification(this CardSlot slot, SlotModificationManager.ModificationType modType) Parameters Type Name Description CardSlot slot The slot to assign the modification to. SlotModificationManager.ModificationType modType The modification type to assign. Returns Type Description IEnumerator"
0 commit comments