Options: add a DeathLinkMixin dataclass to easily standardize death_link (#2355)

* Options: add a DeathLinkOption dataclass to easily standardize death_link

* rename to DeathLinkMixin

* Update worlds/messenger/options.py
This commit is contained in:
Aaron Wagener
2024-03-03 07:11:44 -06:00
committed by GitHub
parent b2f30d5fd0
commit 526eb09089
2 changed files with 7 additions and 4 deletions

View File

@@ -1110,6 +1110,11 @@ class PerGameCommonOptions(CommonOptions):
item_links: ItemLinks
@dataclass
class DeathLinkMixin:
death_link: DeathLink
def generate_yaml_templates(target_folder: typing.Union[str, "pathlib.Path"], generate_hidden: bool = True):
import os