|
WeightedCollectionTGetLargeAmountRandomItems Method |
Get large amount of items from the pool. Assumes all weights are static.
Namespace: JLChnToZ.LuckyPlayer.WeightedRandomizerAssembly: LuckyPlayer (in LuckyPlayer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public virtual IEnumerable<ItemCount<T>> GetLargeAmountRandomItems(
int count
)
Public Overridable Function GetLargeAmountRandomItems (
count As Integer
) As IEnumerable(Of ItemCount(Of T))
public:
virtual IEnumerable<ItemCount<T>^>^ GetLargeAmountRandomItems(
int count
)
abstract GetLargeAmountRandomItems :
count : int -> IEnumerable<ItemCount<'T>>
override GetLargeAmountRandomItems :
count : int -> IEnumerable<ItemCount<'T>>
Parameters
- count
- Type: SystemInt32
How many items you want to get.
Return Value
Type:
IEnumerableItemCountTAn 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