Reference
StandClient
Bases: Services, BaseEvents, Generated
Client, the main means for interacting with game server.
| Parameters: |
|
|---|
OnConnect()
Decorator! Register callback on connect event
idle()
async
Block thread while client running.
me()
async
Get handshake owner's player profile
send_payload(payload)
async
Sends a payload to the server.
| Parameters: |
|
|---|
| Returns: |
|
|---|
send_request(code, request)
async
Sending request to game servers
| Parameters: |
|
|---|
start()
async
Start the client.
This method connects the client to game.
| Raises: |
|
|---|
stop()
async
Stop the client.
subscribe(topic)
async
| Parameters: |
|
|---|