/// <summary> /// 随机获取一个房间服务器地址 /// </summary> /// <returns></returns> public static StartConfig GetAddress(this AllotMapComponent self) { int n = RandomHelper.RandomNumber(0, self.MapAddress.Count); return(self.MapAddress[n]); }