fixed missing serverWorld issue and added status to login response
This commit is contained in:
@ -1,12 +1,11 @@
|
||||
import json
|
||||
import pygame
|
||||
from Classes.System.Network.TCPClient import TCPClient
|
||||
from Classes.Game.World import World
|
||||
from Classes.Game.Player import Player
|
||||
|
||||
|
||||
# event the client sends to let the server know it logged in
|
||||
def Login(tcpClient:TCPClient):
|
||||
def Login(tcpClient):
|
||||
payload = {
|
||||
"event":"login",
|
||||
"username": "player",
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user