Files
Delta-v/Content.Shared/Advertise/MessagePackPrototype.cs
T
Tayrtahn fc280ed0c5 Separate "thank you" messages from general ads (#25867)
* Separated "thank you" messages from general ads

* Moved MessagePackPrototype to shared, cleaned up AdvertiseComponent, and actually killed AdvertisementsPackPrototype.
+More suggests changes.

* Rename PackPrototypeID to Pack in both components.

(cherry picked from commit 794a447bb7)
2024-04-07 14:10:23 +02:00

15 lines
350 B
C#

using Robust.Shared.Prototypes;
namespace Content.Shared.Advertise;
[Serializable, Prototype("messagePack")]
public sealed partial class MessagePackPrototype : IPrototype
{
[ViewVariables]
[IdDataField]
public string ID { get; private set; } = default!;
[DataField]
public List<LocId> Messages { get; private set; } = [];
}