Click or drag to resize
WeightedCollectionTAdd Method (T, Double)
Adds an item into the pool with static weight.

Namespace: JLChnToZ.LuckyPlayer.WeightedRandomizer
Assembly: LuckyPlayer (in LuckyPlayer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Add(
	T item,
	double weight
)

Parameters

item
Type: T
The item will add into the pool
weight
Type: SystemDouble
Static weight

Implements

IDictionaryTKey, TValueAdd(TKey, TValue)
See Also