![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Enumerations | |
| enum | RandomGeneratorSyncUsage { RGSRecoil , RGSJam , RGSGeneric , RGSAimingModel , RGSAnimalCatching , Count } |
Functions | |
| float | GetRandom01 (RandomGeneratorSyncUsage usage_index) |
| float | GetRandomInRange (RandomGeneratorSyncUsage usage_index, float min, float max) |
| void | RandomGeneratorSyncManager (DayZPlayer player) |
| void | Update () |
Variables | |
| DayZPlayer | m_player |
| float | randomValuesArray [USAGE_COUNT] |
| enum RandomGeneratorSyncUsage | USAGE_COUNT = RandomGeneratorSyncUsage.Count |
| Enumerator | |
|---|---|
| RGSRecoil | |
| RGSJam | |
| RGSGeneric | |
| RGSAimingModel | |
| RGSAnimalCatching | |
| Count | |
Definition at line 1 of file randomgeneratorsyncmanager.c.
| float GetRandom01 | ( | RandomGeneratorSyncUsage | usage_index | ) |
Definition at line 32 of file randomgeneratorsyncmanager.c.
References randomValuesArray, and USAGE_COUNT.
Referenced by GetRandomInRange().
| float GetRandomInRange | ( | RandomGeneratorSyncUsage | usage_index, |
| float | min, | ||
| float | max ) |
Definition at line 41 of file randomgeneratorsyncmanager.c.
References GetRandom01().
| void RandomGeneratorSyncManager | ( | DayZPlayer | player | ) |
Definition at line 18 of file randomgeneratorsyncmanager.c.
References m_player.
Referenced by ManBase::GetRandomGeneratorSyncManager(), and ManBase::Init().
| DayZPlayer m_player |
Definition at line 16 of file randomgeneratorsyncmanager.c.
Referenced by Attachments::CanCombineAmmo(), VicinitySlotsContainer::CanCombineAmmo(), HandsContainer::GetCombinationFlags(), HandsContainer::OnPerformCombination(), ScriptedWidgetEventHandler::OnSelectAction(), ScriptedWidgetEventHandler::OnSelectActionEx(), RandomGeneratorSyncManager(), ScriptedWidgetEventHandler::ShowActionMenu(), and Update().
| float randomValuesArray[USAGE_COUNT] |
Definition at line 15 of file randomgeneratorsyncmanager.c.
Referenced by GetRandom01(), and Update().
| enum RandomGeneratorSyncUsage USAGE_COUNT = RandomGeneratorSyncUsage.Count |
Referenced by GetRandom01(), and Update().