Fix the server not checking uplink purchase prices (#1917)

This commit is contained in:
DrSmugleaf
2020-08-25 18:13:19 +02:00
committed by GitHub
parent 4854a54ee1
commit dd3a697c12
5 changed files with 48 additions and 30 deletions

View File

@@ -5,13 +5,15 @@ namespace Content.Server.Interfaces.PDA
{
public interface IPDAUplinkManager
{
public IReadOnlyList<UplinkListingData> FetchListings => null;
public IReadOnlyDictionary<string, UplinkListingData> FetchListings => null;
void Initialize();
public bool AddNewAccount(UplinkAccount acc);
public bool ChangeBalance(UplinkAccount acc, int amt);
public bool TryPurchaseItem(UplinkAccount acc, UplinkListingData listing);
public bool TryPurchaseItem(UplinkAccount acc, string itemId);
}
}