|
IItemWeightTGetWeight Method |
Gets the weight current defines
Namespace: JLChnToZ.LuckyPlayer.WeightedRandomizerAssembly: LuckyPlayer (in LuckyPlayer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax double GetWeight(
T item
)
Function GetWeight (
item As T
) As Double
double GetWeight(
T item
)
abstract GetWeight :
item : 'T -> float
Parameters
- item
- Type: T
The item current querying
Return Value
Type:
DoubleThe weight of the item
See Also