"Finish" Working on backend

This commit is contained in:
Astatin3
2024-01-22 17:04:09 -07:00
parent ad431dd4da
commit 0ea56990de
11 changed files with 197 additions and 101 deletions
+11 -7
View File
@@ -1,10 +1,14 @@
from modules.main import test as test
def test1(ac, data):
print(ac)
print(data)
mm = None
def main(mm):
# mm.addAuthEventListener('test1', test1)
print(mm.rawServer.addEventListener('test1', test1))
#mm.rawServer.addEventListener('login', test1)
def test1(ac, data):
mm.sendPopupColor(ac.rawClient, 'test!', 'test!', '#600060', True)
def init(moduleMaster):
global mm
mm = moduleMaster
mm.addAuthEventListener('test1', test1)
def main():
pass