Interface IWeightedRandomPrototype
IWeightedRandomPrototype implements a dictionary of strings to float weights to be used with Pick(IWeightedRandomPrototype, IRobustRandom).
Namespace: Content.Shared.Random
Assembly: Content.Shared.dll
Syntax
public interface IWeightedRandomPrototype : IPrototype
Properties
| Improve this Doc View SourceWeights
Declaration
Dictionary<string, float> Weights { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, System.Single> |