Files
METH_Transcendence/docker-compose/requirements/djangoserver/file/server/server/DummySocket.py

26 lines
1.1 KiB
Python

# **************************************************************************** #
# #
# ::: :::::::: #
# DummySocket.py :+: :+: :+: #
# +:+ +:+ +:+ #
# By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/10/08 07:33:29 by tomoron #+# #+# #
# Updated: 2024/10/22 17:08:58 by tomoron ### ########.fr #
# #
# **************************************************************************** #
class DummySocket:
def __init__(self, game):
self.id = 0
self.online = True
self.username = "bot"
self.game = game
self.pfp = "/static/img/robot_pfp.jpg"
def sync_send(*args):
pass
def sendError(*args):
pass