mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-06 06:17:26 +00:00
* 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)
15 lines
350 B
C#
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; } = [];
|
|
}
|