For selecting a int value based on weights.
More...
For selecting a int value based on weights.
Definition at line 917 of file t1_scriptAPI.cpp.
◆ kSelectionListInt()
kSelectionListInt::kSelectionListInt |
( |
| ) |
|
◆ AddItem()
void kSelectionListInt::AddItem |
( |
int | item, |
|
|
const int | weight ) |
◆ GetNumEntries()
const uint kSelectionListInt::GetNumEntries |
( |
| ) |
const |
returns number of items in the list
◆ opAssign()
◆ Reset()
void kSelectionListInt::Reset |
( |
| ) |
|
clears all items in the list
◆ Select()
int & kSelectionListInt::Select |
( |
| ) |
|
Returns a value based on item weights.