diff options
| author | 2024-06-21 04:47:16 +0800 | |
|---|---|---|
| committer | 2024-06-21 04:47:16 +0800 | |
| commit | a2477b28057251c4685dbf0b56359dee7b595bfa (patch) | |
| tree | b1dcd4df60dfcfcc1113d9ee4cd3926a25ca158e /hydro_roll_core/rules | |
| parent | 2e5b7e8ab75e0d80066d1ef5619d10fe827fd5a8 (diff) | |
| download | HydroRollCore-a2477b28057251c4685dbf0b56359dee7b595bfa.tar.gz HydroRollCore-a2477b28057251c4685dbf0b56359dee7b595bfa.zip | |
refactor(filetree): rename package's namespace as `hrc`
Diffstat (limited to 'hydro_roll_core/rules')
| -rw-r--r-- | hydro_roll_core/rules/BaseRule/JudgeRule.py | 18 | ||||
| -rw-r--r-- | hydro_roll_core/rules/BaseRule/__init__.py | 46 | ||||
| -rw-r--r-- | hydro_roll_core/rules/__init__.py | 0 |
3 files changed, 0 insertions, 64 deletions
diff --git a/hydro_roll_core/rules/BaseRule/JudgeRule.py b/hydro_roll_core/rules/BaseRule/JudgeRule.py deleted file mode 100644 index 20e1989..0000000 --- a/hydro_roll_core/rules/BaseRule/JudgeRule.py +++ /dev/null @@ -1,18 +0,0 @@ -import dataclasses -from dataclasses import dataclass -from typing import Literal, Optional, Union -from typing_extensions import override - -@dataclass -class JudgeRule(object): - """判定规则""" - property: type - -class Custom(JudgeRule): - ... - -class Attribute(Custom): - ... - -class Skill(Custom): - ... diff --git a/hydro_roll_core/rules/BaseRule/__init__.py b/hydro_roll_core/rules/BaseRule/__init__.py deleted file mode 100644 index 5730aa8..0000000 --- a/hydro_roll_core/rules/BaseRule/__init__.py +++ /dev/null @@ -1,46 +0,0 @@ -import dataclasses -from dataclasses import dataclass -from typing import Literal, Optional, Union -from typing_extensions import override - - -@dataclass -class CharacterCard(object): - """Docstring for CharacterCard.""" - property: type - - class Information(object): - age: Optional[Union[int, str]] - race: Optional[str] - gender: Optional[str] - group: Optional[str] - - -@dataclass -class CustomRule(object): - """Docstring for CustomRule.""" - property: type - - -@dataclass -class ExpansionRule(object): - """Docstring for ExpansionRule.""" - property: type - - -@dataclass -class Wiki(object): - """Docstring for Wiki.""" - property: type - - -@dataclass -class Query(object): - """Docstring for Query.""" - property: type - - -@dataclass -class Duration(object): - """Docstring for Duration.""" - property: type diff --git a/hydro_roll_core/rules/__init__.py b/hydro_roll_core/rules/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/hydro_roll_core/rules/__init__.py +++ /dev/null |
