diff options
| author | 2024-06-27 21:14:04 +0800 | |
|---|---|---|
| committer | 2024-06-27 21:14:04 +0800 | |
| commit | a0ebfdc2cf5f37c40caedcd1dfdcef9660b08f69 (patch) | |
| tree | 8b58231bfc896e546c6716ac0f46a61db43529db /hrc | |
| parent | 94d6725582f862031d6573fa0c7c68f495bcca9c (diff) | |
| download | HydroRollCore-a0ebfdc2cf5f37c40caedcd1dfdcef9660b08f69.tar.gz HydroRollCore-a0ebfdc2cf5f37c40caedcd1dfdcef9660b08f69.zip | |
feat(BaseRule): add Character.py
Diffstat (limited to 'hrc')
| -rw-r--r-- | hrc/rules/BaseRule/JudgeRule.py | 13 | ||||
| -rw-r--r-- | hrc/rules/BaseRule/Wiki.py | 0 | ||||
| -rw-r--r-- | hrc/rules/__init__.py | 3 | ||||
| -rw-r--r-- | hrc/rules/config.py | 4 |
4 files changed, 6 insertions, 14 deletions
diff --git a/hrc/rules/BaseRule/JudgeRule.py b/hrc/rules/BaseRule/JudgeRule.py deleted file mode 100644 index 20d28a2..0000000 --- a/hrc/rules/BaseRule/JudgeRule.py +++ /dev/null @@ -1,13 +0,0 @@ -import dataclasses -from dataclasses import dataclass -from typing import Literal, Optional, Union - -@dataclass -class Custom(object): - ... - -class Attribute(Custom): - ... - -class Skill(Custom): - ... diff --git a/hrc/rules/BaseRule/Wiki.py b/hrc/rules/BaseRule/Wiki.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/hrc/rules/BaseRule/Wiki.py diff --git a/hrc/rules/__init__.py b/hrc/rules/__init__.py index ccd3dbc..a32b693 100644 --- a/hrc/rules/__init__.py +++ b/hrc/rules/__init__.py @@ -8,4 +8,5 @@ from ..typing import RulesT class Rules(ABC, Generic[RulesT]): ... -
\ No newline at end of file + + diff --git a/hrc/rules/config.py b/hrc/rules/config.py new file mode 100644 index 0000000..2926a03 --- /dev/null +++ b/hrc/rules/config.py @@ -0,0 +1,4 @@ +from pydantic import ConfigDict, BaseModel + +class ConfigModel(BaseModel): + ...
\ No newline at end of file |
