* 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.
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; } = [];
|
|
}
|