using System.Collections.Generic; namespace ETModel { public class RealmGateAddressComponent : Component { public readonly List GateAddress = new List(); public StartConfig GetAddress() { int n = RandomHelper.RandomNumber(0, this.GateAddress.Count); return this.GateAddress[n]; } } }