explain tags a bit to other developers

This commit is contained in:
Fabian Dill 2020-02-16 15:35:01 +01:00
parent b04db006e0
commit a990249762
1 changed files with 2 additions and 0 deletions

View File

@ -154,6 +154,8 @@ async def on_client_connected(ctx : Context, client : Client):
await send_msgs(client.socket, [['RoomInfo', {
'password': ctx.password is not None,
'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'],
'version': "1.0.0"
}]])