Skip to main content

RuleOptionSetChance

A class in Root.Township, Alta.PAGaC.

A nested RuleOptionSet with a 0 to 1 chance of being evaluated.

Constructors​

MemberWhat it is
RuleOptionSetChance()Creates a RuleOptionSetChance with default values.

Fields​

2 private and internal fields
MemberWhat it is
private RuleOptionSet ruleOptionSetBacking field for RuleOptionSet.
private float weightBacking field for Weight.

Properties​

MemberWhat it is
RuleOptionSet RuleOptionSet { get; }The option set that may be evaluated.
float Weight { get; }Chance from 0 to 1 that it is evaluated (default 1).

Used in​

Members of other types that take, return or hold a RuleOptionSetChance: