| 12345678910111213141516 |
- using Robust.Shared.Prototypes;
- namespace Content.Shared.Random;
- /// <summary>
- /// Generic random weighting dataset to use.
- /// </summary>
- [Prototype]
- public sealed partial class WeightedRandomPrototype : IWeightedRandomPrototype
- {
- [IdDataField]
- public string ID { get; private set; } = default!;
- [DataField("weights")]
- public Dictionary<string, float> Weights { get; private set; } = new();
- }
|