Set Lobby Data
Last updated
Last updated
Support us as a and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our ... become a sponsor today!
Sets a key/value pair in the lobby metadata. This can be used to set the lobby name, current map, game mode, etc. This can only be set by the owner of the lobby. Lobby members should use Set Lobby Member Data instead. Each user in the lobby will receive notification of the lobby data change via a callback, and any new users joining will receive any existing data. This will only send the data if it has changed. There is a slight delay before sending the data so you can call this repeatedly to set all the data you need to and it will automatically be batched up and sent after the last sequential call.
The Steam ID of the lobby to set
The key of the data to set
The value of the data to set
True if set successfully, false indicates the lobby ID is invalid or the key/value is to long.