Class WeightedRandomOrePrototype
Linter-friendly version of weightedRandom for Ore prototypes.
Inheritance
System.Object
WeightedRandomOrePrototype
Namespace: Content.Shared.Random
Assembly: Content.Shared.dll
Syntax
public sealed class WeightedRandomOrePrototype : object, IWeightedRandomPrototype, IPrototype
Properties
| Improve this Doc View SourceID
Declaration
public string ID { get; }
Property Value
Type | Description |
---|---|
System.String |
Weights
Declaration
public Dictionary<string, float> Weights { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, System.Single> |
Implements
Robust.Shared.Prototypes.IPrototype