Пример #1
0
 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);
 }
Пример #2
0
 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;
 }