Module object

Module object 

Source

Structs§

AnotherObjectSpecifier
Marker struct for the special object specifier “another”, which means “any that is not myself”.
ArtifactSubtype
Wrapper around the artifact subtype.
BattleSubtype
Wrapper around the battle subtype.
CardObjectKind
Wrapper around the card type.
CardType
Wrapper around the card type.
CastSpecifier
A specifier for who casts a spell.
ControlSpecifier
A specifier for who controls a permanents.
CreatureSubtype
Wrapper around the creature subtype.
EnchantmentSubtype
Wrapper around the enchantment subtype.
LandSubtype
Wrapper around the enchantment subtype.
NotPreviouslySelectedObjectSpecifier
Marker struct for the special object specifier “other target”, which means “any target that was not already selected”
ObjectAttachedTo
Object reference for the object “attached” to.
PermanentObjectKind
Wrapper around the card type.
PlaneswalkerSubtype
Wrapper around the enchantment subtype.
PreviouslyMentionnedObject
Anything from “that permanent”, “those counters”, “that card”, etc.
SelfReferencingObject
The self referencing struct is a special kind of object specifier that references the objects that carries the ability.
SpecifiedObject
Fixme: doc Fixme: could we split this into an enum, having specified objects for all object kinds ? it would require more types, but would allow for more expressivness ? Fixme: at least we should have a specifier that acts as the main component ? “red card” -> card, “creatures you control” -> you control
SpecifierAndList
A list of object specifiers, grouped with a logical AND.
SpecifierOrList
A list of object specifiers, grouped with a logical OR.
SpecifierOrOfAndList
A list of list of object specifiers, where the outer list is grouped with a logical OR, and the inner list is grouped with a logical AND.
SpellObjectKind
Wrapper around the card type.
SpellSubtype
Wrapper around the enchantment subtype.
Supertype
Wrapper around the enchantment subtype.

Enums§

CountSpecifier
Fixme: doc
ObjectKind
An object kind wraps up most of the supertypes, types and subtypes, as well as some grouping types, such as spell, card and permanent.
ObjectReference
An object reference is a way to refer to one or more objects in the game.
ObjectSpecifier
Fixme: doc
ObjectSpecifiers