|
|
@@ -0,0 +1,25 @@
|
|
|
+import os
|
|
|
+import sys
|
|
|
+#sys.path.append(os.path.abspath('..'))
|
|
|
+from coronal.game import Game
|
|
|
+
|
|
|
+
|
|
|
+NAME = 'bytelegend'
|
|
|
+VERSION = '0.1.1'
|
|
|
+
|
|
|
+
|
|
|
+class ByteLegend(Game):
|
|
|
+ def __init__(self, loop, conf:dict):
|
|
|
+ super(ByteLegend, self).__init__(loop=loop, name=NAME, conf=conf)
|
|
|
+
|
|
|
+ async def on_connected(self, ws, request):
|
|
|
+ pass
|
|
|
+
|
|
|
+ async def on_closed(self, ws, request):
|
|
|
+ pass
|
|
|
+
|
|
|
+ async def on_message(self, ws, request, msg):
|
|
|
+ pass
|
|
|
+
|
|
|
+ async def on_rpc(self, request):
|
|
|
+ pass
|