Page cover image

🔵Set Lobby Member Data

Like what you're seeing?

Introduction

Sets per-user metadata for the local user.

A user can only set their own data but can read all other member's data.

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. 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 ID of the lobby to set the user's data on

Key

The key of the data to set

Value

The value of the data to set

Nodes

Last updated