pda improvements (#1072)

Co-authored-by: FL-OZ <anotherscuffed@gmail.com>
This commit is contained in:
FL-OZ
2020-06-05 11:44:25 -05:00
committed by GitHub
parent 19c9e3e4f9
commit fa9169e346
10 changed files with 188 additions and 62 deletions

View File

@@ -80,6 +80,16 @@ namespace Content.Shared.GameObjects.Components.PDA
}
}
[Serializable, NetSerializable]
public sealed class PDAUplinkBuySuccessMessage : ComponentMessage
{
}
[Serializable, NetSerializable]
public sealed class PDAUplinkInsufficientFundsMessage : ComponentMessage
{
}
[Serializable, NetSerializable]
public sealed class PDARequestUpdateInterfaceMessage : BoundUserInterfaceMessage
{
@@ -156,18 +166,16 @@ namespace Content.Shared.GameObjects.Components.PDA
public UplinkCategory Category;
public string Description;
public string ListingName;
public Color DisplayColor;
public UplinkListingData(string listingName,string itemId,
int price, UplinkCategory category,
string description, Color displayColor) : base(ContentNetIDs.PDA)
string description) : base(ContentNetIDs.PDA)
{
ListingName = listingName;
Price = price;
Category = category;
Description = description;
ItemId = itemId;
DisplayColor = displayColor;
}
public bool Equals(UplinkListingData other)