using Robust.Shared.Prototypes; namespace Content.Shared.Random; /// /// IWeightedRandomPrototype implements a dictionary of strings to float weights /// to be used with . /// public interface IWeightedRandomPrototype : IPrototype { [ViewVariables] public Dictionary Weights { get; } } public interface IWeightedRandomPrototype : IPrototype where TProto: class, IPrototype { [ViewVariables] public Dictionary, float> Weights { get; } }