SetCustomProperty call like this

Options
like this:
this.client.myRoom().setCustomProperty('playerNames', playerNames);
this.client.myRoom().setCustomProperty('players', players);
this.client.myRoom().setCustomProperty('ready', true);

will onMyRoomPropertiesChange callback keep the order: playerNames, players, ready??

Comments

  • vadim
    Options
    onMyRoomPropertiesChange() will be called 3 times, the properties will be changed on each call according to setCustomProperty() calls order.
    It's more efficient to set multiple properties with single call of setCustomProperties() which triggers single onMyRoomPropertiesChange()