aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-07-15 18:38:53 +0800
committer简律纯 <i@jyunko.cn>2024-07-15 18:38:53 +0800
commitfae8d2273dfad2dd0cf9709f15e24640e7ebfd8d (patch)
treec7e170446bcadfef013bf3290a6c4188053949cc /examples
parent03812119ea6e99f549793a5e7ffac4b5765fa6a3 (diff)
downloadHydroRollCore-fae8d2273dfad2dd0cf9709f15e24640e7ebfd8d.tar.gz
HydroRollCore-fae8d2273dfad2dd0cf9709f15e24640e7ebfd8d.zip
feat(Improve the underlying business directory): Improve the underlying business directory
Add { doc | feat | perf | dev } mods
Diffstat (limited to 'examples')
-rw-r--r--examples/rules/BRP/__init__.py6
-rw-r--r--examples/rules/COC/Character.py (renamed from examples/rules/COC7/Character.py)0
-rw-r--r--examples/rules/COC/Command.py (renamed from examples/rules/COC7/Command.py)0
-rw-r--r--examples/rules/COC/Wiki.py (renamed from examples/rules/COC7/Wiki.py)0
-rw-r--r--examples/rules/COC/__init__.py (renamed from examples/rules/COC7/__init__.py)10
5 files changed, 10 insertions, 6 deletions
diff --git a/examples/rules/BRP/__init__.py b/examples/rules/BRP/__init__.py
deleted file mode 100644
index 54f2261..0000000
--- a/examples/rules/BRP/__init__.py
+++ /dev/null
@@ -1,6 +0,0 @@
-from hrc.rule import Rule
-
-class BRP(Rule):
- async def handle(self) -> None: ...
-
- async def rule(self) -> bool: return False \ No newline at end of file
diff --git a/examples/rules/COC7/Character.py b/examples/rules/COC/Character.py
index bb30661..bb30661 100644
--- a/examples/rules/COC7/Character.py
+++ b/examples/rules/COC/Character.py
diff --git a/examples/rules/COC7/Command.py b/examples/rules/COC/Command.py
index 9819841..9819841 100644
--- a/examples/rules/COC7/Command.py
+++ b/examples/rules/COC/Command.py
diff --git a/examples/rules/COC7/Wiki.py b/examples/rules/COC/Wiki.py
index b97f717..b97f717 100644
--- a/examples/rules/COC7/Wiki.py
+++ b/examples/rules/COC/Wiki.py
diff --git a/examples/rules/COC7/__init__.py b/examples/rules/COC/__init__.py
index 65f40ab..260bfb5 100644
--- a/examples/rules/COC7/__init__.py
+++ b/examples/rules/COC/__init__.py
@@ -17,6 +17,10 @@ class COC7(Rule):
attr: Attributes = Depends() # CharacterCard.Attribute
wiki: Wiki = Depends() # Wiki
cmd: Command = Depends() # Command # noqa: F821
+
+ async def handle(self): ...
+
+ async def rule(self): ...
@core.event_postprocessor_hook
async def auto_card(self):
@@ -50,3 +54,9 @@ class COC7(Rule):
+ " DEX"
+ str(self.pc.get("DEX", "?"))
)
+
+
+class COC6(Rule):
+ async def handle(self): ...
+
+ async def rule(self): ...