1
0
mirror of https://github.com/norohind/jubilant-system-core.git synced 2025-04-19 20:47:37 +03:00
2022-04-10 23:08:31 +03:00

12 lines
257 B
Python

from HookSystem import HookSystem
from Hook import Hook
class testHook(Hook):
def update(self, operation_id: int) -> None:
print('update')
def setup(hook_system: HookSystem) -> None:
hook_system.add_on_insert_hook(testHook())