Skip to main content

Module replacement_type

Module replacement_type 

Source
Expand description

Replacement effect event types.

Mirrors Java ReplacementType.java in forge/game/replacement/. Each variant corresponds to an Event$ <Value> entry in card scripts.

Enums§

ReplacementType
The type of game event a replacement effect intercepts. Mirrors Java ReplacementType enum. EnumString derives a case-insensitive FromStr that maps "<VariantName>" (any case) to the variant. #[strum(default)] on Other makes unknown values fall through instead of erroring.