Click or drag to resize
WeightedCollectionTGetLargeAmountRandomItems Method
Get large amount of items from the pool. Assumes all weights are static.

Namespace: JLChnToZ.LuckyPlayer.WeightedRandomizer
Assembly: LuckyPlayer (in LuckyPlayer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public virtual IEnumerable<ItemCount<T>> GetLargeAmountRandomItems(
	int count
)

Parameters

count
Type: SystemInt32
How many items you want to get.

Return Value

Type: IEnumerableItemCountT
An enumerable object contains a bunch of key value pairs describes the count of each single item.
Remarks
This method will not perform any random operations, it just simply returns the weight table scales by the count. It will not trigger any OnSuccess(T) and the GetWeight(T) of each item will be only called once.
See Also