How To Update Properties Of A Room

You may update properties of the room you are in. All property values MUST be byte arrays.

Calling UpdateProperties will raise OnUpdateProperties.  If a UDP client is used, the message is sent as an RUDP.

 

Dictionary<string, byte[]> props = new Dictionary<string, byte[]>();
props["roomName"] = Encoding.UTF8.GetBytes("Sample Room");
props["roomNo"] = BitConverter.GetBytes(123);
room.UpdateProperties(room.GetRoomID(), props);