SetCustomProperty call like this
in JavaScript
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??
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??
0
Comments
It's more efficient to set multiple properties with single call of setCustomProperties() which triggers single onMyRoomPropertiesChange()