Click or drag to resize
WeightedCollectionTGetRandomItem Method (Double)
Get an item from the pool with random value passed.

Namespace: JLChnToZ.LuckyPlayer.WeightedRandomizer
Assembly: LuckyPlayer (in LuckyPlayer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public virtual T GetRandomItem(
	double randomValue
)

Parameters

randomValue
Type: SystemDouble
The randomized value, should be between 0 and 1.

Return Value

Type: T
The random item
Remarks
This overloaded method is for more advanced uses, which require callers to generate the random number by themself then passing it in.
See Also