public void Refresh() { CurrentPlayers.Clear(); CurrentVessels.Clear(); Subspaces.Clear(); CurrentPlayers.AddRange(ServerContext.Clients.Values.Select(v => v.PlayerName)); CurrentVessels.AddRange(VesselStoreSystem.CurrentVessels.Values.Select(v => new VesselInfo(v))); Subspaces.AddRange(WarpContext.Subspaces.Values); }
public void Refresh() { CurrentPlayers.Clear(); CurrentVessels.Clear(); Subspaces.Clear(); StartTime = TimeContext.StartTime; CurrentPlayers.AddRange(ServerContext.Clients.Values.Select(v => v.PlayerName)); CurrentVessels.AddRange(VesselStoreSystem.CurrentVessels.Values.Select(v => new VesselInfo(v))); Subspaces.AddRange(WarpContext.Subspaces.Values); BytesUsed = Environment.WorkingSet; }