2021-04-21 12:00:14 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
|
|
|
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Advertisements
|
|
|
|
|
|
{
|
|
|
|
|
|
[Serializable, Prototype("advertisementsPack")]
|
2022-02-16 00:23:23 -07:00
|
|
|
|
public sealed class AdvertisementsPackPrototype : IPrototype
|
2021-04-21 12:00:14 +02:00
|
|
|
|
{
|
|
|
|
|
|
[ViewVariables]
|
2021-05-04 15:37:16 +02:00
|
|
|
|
[DataField("id", required: true)]
|
2021-04-21 12:00:14 +02:00
|
|
|
|
public string ID { get; } = default!;
|
|
|
|
|
|
|
2021-05-04 15:37:16 +02:00
|
|
|
|
[DataField("advertisements")]
|
2021-04-21 12:00:14 +02:00
|
|
|
|
public List<string> Advertisements { get; } = new();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|