Files
crystall-punk-14/Content.Server/Traitor/Uplink/SurplusBundle/SurplusBundleComponent.cs

26 lines
844 B
C#
Raw Normal View History

2022-08-17 00:34:25 -04:00
using Content.Shared.Store;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
2022-05-08 10:52:00 +03:00
namespace Content.Server.Traitor.Uplink.SurplusBundle;
/// <summary>
/// Fill crate with a random uplink items.
/// </summary>
[RegisterComponent]
public sealed partial class SurplusBundleComponent : Component
2022-05-08 10:52:00 +03:00
{
/// <summary>
/// Total price of all content inside bundle.
/// </summary>
[ViewVariables(VVAccess.ReadOnly)]
[DataField("totalPrice")]
public int TotalPrice = 20;
2022-08-17 00:34:25 -04:00
/// <summary>
/// The preset that will be used to get all the listings.
/// Currently just defaults to the basic uplink.
/// </summary>
[DataField("storePreset", customTypeSerializer: typeof(PrototypeIdSerializer<StorePresetPrototype>))]
public string StorePreset = "StorePresetUplink";
2022-05-08 10:52:00 +03:00
}