using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Content.Shared.PDA; using Content.Shared.Traitor.Uplink; using Robust.Shared.GameObjects; using Robust.Shared.Map; namespace Content.Server.PDA.Managers { public interface IUplinkManager { public IReadOnlyDictionary FetchListings { get; } void Initialize(); public bool AddNewAccount(UplinkAccount acc); public bool ChangeBalance(UplinkAccount acc, int amt); public bool TryGetAccount(EntityUid owner, out UplinkAccount? acc); public bool TryPurchaseItem( UplinkAccount? acc, string itemId, EntityCoordinates spawnCoords, [NotNullWhen(true)] out IEntity? purchasedItem); } }