|
WeightedCollectionTGetCurrentWeight Method |
Gets the weight of an item. If dynamic object is defined, the value will be fetched immediately.
Namespace: JLChnToZ.LuckyPlayer.WeightedRandomizerAssembly: LuckyPlayer (in LuckyPlayer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public double GetCurrentWeight(
T item
)
Public Function GetCurrentWeight (
item As T
) As Double
public:
double GetCurrentWeight(
T item
)
member GetCurrentWeight :
item : 'T -> float
Parameters
- item
- Type: T
The item
Return Value
Type:
DoubleThe weight value
See Also