Remove dead ItemManager cache residue
This commit is contained in:
parent
52391b592a
commit
6391176a40
3 changed files with 5 additions and 20 deletions
Binary file not shown.
|
|
@ -15,32 +15,13 @@ using UniRx;
|
|||
public class ItemManager
|
||||
{
|
||||
public Random Random = new Random((uint) (DateTime.Now.Ticks%uint.MaxValue));
|
||||
// public Dictionary<Guid, List<IController>> CorporationControllers = new Dictionary<Guid, List<IController>>();
|
||||
// public Dictionary<Guid, ZoneDefinition> GalaxyZones;
|
||||
|
||||
|
||||
private Action<string> _logger;
|
||||
|
||||
private double _time;
|
||||
private float _deltaTime;
|
||||
private Dictionary<Guid, Zone> _zones = new Dictionary<Guid, Zone>();
|
||||
|
||||
// private Guid _forceLoadZone;
|
||||
|
||||
private readonly IRuntimeItemCatalogReader _runtimeItems;
|
||||
|
||||
public GameplaySettings GameplaySettings { get; }
|
||||
|
||||
// public double Time
|
||||
// {
|
||||
// get => _time;
|
||||
// set
|
||||
// {
|
||||
// _deltaTime = (float) (value - _time);
|
||||
// _time = value;
|
||||
// //Log($"GameContext delta time: {_deltaTime}");
|
||||
// }
|
||||
// }
|
||||
|
||||
public ItemManager(IRuntimeItemCatalogReader runtimeItems, GameplaySettings settings, Action<string> logger)
|
||||
{
|
||||
_runtimeItems = runtimeItems;
|
||||
|
|
|
|||
|
|
@ -1677,6 +1677,10 @@ First Aetheria surfaces to publish:
|
|||
preference edits through named `ActionGameManager` commit methods. MainMenu
|
||||
reads the `RuntimePlayerSettings` projection for display, but no longer
|
||||
assigns its player/gameplay/graphics fields directly.
|
||||
- Done: delete `ItemManager`'s unused zone dictionary, commented corporation
|
||||
controller/galaxy-zone GUID caches, force-load GUID sketch, and dead time
|
||||
property sketch. ItemManager no longer pretends to own a zone/time cache
|
||||
while the runtime state spine owns durable state.
|
||||
- Remaining: delete or quarantine old cache abstractions that no longer
|
||||
protect an invariant once catalog migration has a typed reader.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue