|
WeightedCollectionTGetWeight Method (T) |
Gets the weight controller object of an item.
Namespace: JLChnToZ.LuckyPlayer.WeightedRandomizerAssembly: LuckyPlayer (in LuckyPlayer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public IItemWeight<T> GetWeight(
T item
)
Public Function GetWeight (
item As T
) As IItemWeight(Of T)
public:
IItemWeight<T>^ GetWeight(
T item
)
member GetWeight :
item : 'T -> IItemWeight<'T>
Parameters
- item
- Type: T
The item
Return Value
Type:
IItemWeightTThe weight controller object
See Also