![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| int | GetNumberOfEntries () |
| int | GetValues (int id, out array< float > values) |
| void | SetValues (int id, notnull array< float > newValues) |
| array< float > | GetBallisticValuesForClosestRange (int range, out int id=-1) |
| array< float > | GetBallisticValuesForClosestAngle (float angle, out int id=-1, float epsilon=0.1, float epsilonStep=2, float maxEpsilon=1000) |
| array< float > | GetBallisticValuesForRange (int range, out int id=-1) |
| ResourceName | GetProjectileName () |
| int | GetRangeStep () |
| float | GetProjectileInitSpeedCoef () |
| bool | IsForDirectFireMode () |
| void | SCR_BallisticData (notnull array< ref array< float > > ballisticValues, string projectilePrefab, bool directFireMode, int rangeStep, float speedCoef) |
Static Protected Member Functions | |
| static void | SubscribeToGameEndEvent () |
| static void | ReleaseData () |
| Clears static data to ensure that it doesnt persist over multiple sessions, and thus doesnt grow unexpectedly. | |
Protected Attributes | |
| ref array< ref array< float > > | m_aBallisticValues |
| ResourceName | m_sProjectilePrefabName |
| bool | m_bDirectFireMode |
| int | m_iRangeStep |
| float | m_fProjectileInitSpeedCoef |
| ref map< int, int > | m_mDistances |
Definition at line 1 of file SCR_BallisticData.c.
|
inlineprotected |
| [in] | ballisticValues | |
| [in] | projectilePrefab | |
| [in] | directFireMode | |
| [in] | rangeStep |
Definition at line 154 of file SCR_BallisticData.c.
|
inlineprotected |
| [in] | angle | searched angle |
| [out] | id | position in m_aBallisticValues which contains returned value (-1 no value found) |
| [in] | epsilon | this value will be increased by epsilonStep with each recursive exectution to widen the range |
| [in] | epsilonStep | |
| [in] | maxEpsilon | if epsilon reaches this value then search will be stop and null will be returned |
Definition at line 89 of file SCR_BallisticData.c.
|
inlineprotected |
Finds values for first closest range
| [in] | range | searched range |
| [out] | id | position in m_aBallisticValues which contains returned value (-1 no value found) |
Definition at line 63 of file SCR_BallisticData.c.
|
inlineprotected |
Definition at line 24 of file SCR_BallisticData.c.
|
inlineprotected |
Definition at line 137 of file SCR_BallisticData.c.
|
inlineprotected |
Definition at line 125 of file SCR_BallisticData.c.
|
inlineprotected |
Definition at line 131 of file SCR_BallisticData.c.
| [in] | id | |
| [out] | values |
Definition at line 36 of file SCR_BallisticData.c.
|
inlineprotected |
Definition at line 143 of file SCR_BallisticData.c.
|
inlinestaticprotected |
Clears static data to ensure that it doesnt persist over multiple sessions, and thus doesnt grow unexpectedly.
Definition at line 189 of file SCR_BallisticData.c.
Method for changing the content of existing entry
| [in] | id | |
| [in] | values |
Definition at line 50 of file SCR_BallisticData.c.
|
inlinestaticprotected |
Definition at line 174 of file SCR_BallisticData.c.
|
protected |
expected structure [0] range, [1] angle, [2] time of flight [3] drop per 100m of elevation change, [4] time of flight change per 100m of elevation change, [5] peak altitude [6] angle of impact [7] crosswind correction in mils [8] longitudinal wind correction in meters
Definition at line 16 of file SCR_BallisticData.c.
|
protected |
Definition at line 18 of file SCR_BallisticData.c.
|
protected |
Definition at line 20 of file SCR_BallisticData.c.
|
protected |
Definition at line 19 of file SCR_BallisticData.c.
Definition at line 21 of file SCR_BallisticData.c.
|
protected |
Definition at line 17 of file SCR_BallisticData.c.