public void OnRoomPropertiesUpdate(Hashtable propertiesThatChanged) { if (propertiesThatChanged.ContainsKey(STAGE_INDEX_PROPERTY_NAME)) { if (loadBalancingClient.CurrentRoom.CustomProperties.ContainsKey(STAGE_INDEX_PROPERTY_NAME)) { int stageIndex = (int)loadBalancingClient.CurrentRoom.CustomProperties[STAGE_INDEX_PROPERTY_NAME]; presHandling.updatePresStage(stageIndex); } } }