/// <summary> /// Initializes a new instance of the <see cref="ActiveWorld"/> class. /// </summary> public ActiveWorld(WorldInfo worldInfo) { this.Id = worldInfo.WorldId; this.Name = worldInfo.WorldName; this.ChannelCount = worldInfo.ChannelCount; this.channels = new List<ActiveChannel>(); }
protected override void OnInitializing(OsServiceConfiguration serviceConfiguration) { base.OnInitializing(serviceConfiguration); this.worldConfiguration = new WorldConfiguration(serviceConfiguration); this.WorldId = this.worldConfiguration.WorldId; this.info = this.worldInfoProvider.GetWorldById(this.WorldId); }