feat: Added support for writing scripts in Python

This commit is contained in:
WerWolv
2024-03-24 11:06:01 +01:00
parent e984fde966
commit 3144d79605
17 changed files with 436 additions and 82 deletions

View File

@@ -0,0 +1,9 @@
import ctypes
script_loader = ctypes.CDLL("Script Loader", ctypes.DEFAULT_MODE, int(__script_loader__))
class UI:
@staticmethod
def show_message_box(message: str):
script_loader.showMessageBoxV1(ctypes.create_string_buffer(message.encode("utf-8")))