![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| int | GetRandomValue (out TValue outValue) |
| int | GetRandomValue (out TValue outValue, notnull RandomGenerator randomGenerator) |
| int | GetWeightedValue (out TValue outValue, float weightedValue) |
| float | GetTotalWeight () |
| TValue | Get (int n) |
| void | Set (int n, TValue value) |
| int | Insert (TValue value, float weight) |
| void | Remove (int i) |
| void | RemoveOrdered (int i) |
| float | GetWeight (int i) |
| TValue | GetValue (int i) |
| int | Count () |
| bool | IsEmpty () |
| bool | Contains (TValue value) |
| int | Find (TValue value) |
| int | CopyFrom (notnull SCR_WeightedArray< TValue > from) |
| void | Clear () |
| int | ToArray (out notnull array< TValue > outArray) |
| void | Debug () |
Protected Attributes | |
| ref array< TValue > | m_aValues = {} |
| ref array< float > | m_aWeights = {} |
| float | m_fTotalWeight |
Definition at line 1 of file SCR_WeightedArray.c.
|
inlineprotected |
Definition at line 169 of file SCR_WeightedArray.c.
Definition at line 118 of file SCR_WeightedArray.c.
|
inlineprotected |
Definition at line 187 of file SCR_WeightedArray.c.
|
inlineprotected |
| [out] | outValue | |
| [in] | randomGenerator |
Definition at line 19 of file SCR_WeightedArray.c.
Definition at line 46 of file SCR_WeightedArray.c.
|
inlineprotected |
| [out] | outValue | |
| [in] | weightedValue |
Definition at line 28 of file SCR_WeightedArray.c.
Definition at line 125 of file SCR_WeightedArray.c.
| [in] | i |
Definition at line 82 of file SCR_WeightedArray.c.
| [in] | i |
Definition at line 92 of file SCR_WeightedArray.c.
| [in] | n | |
| [in] | value |
Definition at line 62 of file SCR_WeightedArray.c.
|
protected |
Definition at line 3 of file SCR_WeightedArray.c.
Definition at line 4 of file SCR_WeightedArray.c.
Definition at line 5 of file SCR_WeightedArray.c.