๐ตSet Lobby Data
Like what you're seeing?
Support us as a GitHub Sponsor 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 GitHub Sponsors ... become a sponsor today!
Introduction
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 Lobby Data Update 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.
Lobby Id
The Steam ID of the lobby to set
Key
The key of the data to set
Value
The value of the data to set
Return Value
True if set successfully, false indicates the lobby ID is invalid or the key/value is to long.
Nodes
Last updated