Show / Hide Table of Contents

Class WeightedRandomPrototype

Generic random weighting dataset to use.

Inheritance
System.Object
WeightedRandomPrototype
Implements
IWeightedRandomPrototype
Robust.Shared.Prototypes.IPrototype
Namespace: Content.Shared.Random
Assembly: Content.Shared.dll
Syntax
public sealed class WeightedRandomPrototype : object, IWeightedRandomPrototype, IPrototype

Properties

| Improve this Doc View Source

ID

Declaration
public string ID { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Weights

Declaration
public Dictionary<string, float> Weights { get; }
Property Value
Type Description
Dictionary<System.String, System.Single>

Implements

IWeightedRandomPrototype
Robust.Shared.Prototypes.IPrototype
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾