-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
i would like to launch multiple csgo clients in multi threaded env.
and i'm thinking of making it class based, i tried the following code but got no luck:
class ClientHandle():
client = SteamClient()
cs = CSGOClient(client)
def __init__(self, username, password, inspectLink, clientName):
self.username = username
self.password = password
self.clientName = clientName
self.client.login(self.username, self.password)
self.inspectLink = inspectLink
@cs.on("logged_in")
def loggedIN(self):
print(f"{self.clientName} Logged in.")
@cs.on("ready")
def ready(self):
print(f"{self.clientName} Ready.")
Metadata
Metadata
Assignees
Labels
No labels