mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
explain tags a bit to other developers
This commit is contained in:
@@ -154,6 +154,8 @@ async def on_client_connected(ctx : Context, client : Client):
|
|||||||
await send_msgs(client.socket, [['RoomInfo', {
|
await send_msgs(client.socket, [['RoomInfo', {
|
||||||
'password': ctx.password is not None,
|
'password': ctx.password is not None,
|
||||||
'players': [(client.team, client.slot, client.name) for client in ctx.clients if client.auth],
|
'players': [(client.team, client.slot, client.name) for client in ctx.clients if client.auth],
|
||||||
|
# tags are for additional features in the communication.
|
||||||
|
# Name them by feature or fork, as you feel is appropriate.
|
||||||
'tags': ['Berserker'],
|
'tags': ['Berserker'],
|
||||||
'version': "1.0.0"
|
'version': "1.0.0"
|
||||||
}]])
|
}]])
|
||||||
|
Reference in New Issue
Block a user