Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
randomgeneratorsyncmanager.c File Reference

Go to the source code of this file.

Enumerations

enum  RandomGeneratorSyncUsage {
  RGSRecoil, RGSJam, RGSGeneric, RGSAimingModel,
  Count
}
 

Functions

void RandomGeneratorSyncManager (DayZPlayer player)
 
void Update ()
 
float GetRandom01 (RandomGeneratorSyncUsage usage_index)
 
float GetRandomInRange (RandomGeneratorSyncUsage usage_index, float min, float max)
 

Variables

enum RandomGeneratorSyncUsage USAGE_COUNT = RandomGeneratorSyncUsage.Count
 
float randomValuesArray [USAGE_COUNT]
 
DayZPlayer m_player
 

Enumeration Type Documentation

◆ RandomGeneratorSyncUsage

Enumerator
RGSRecoil 
RGSJam 
RGSGeneric 
RGSAimingModel 
Count 

Definition at line 1 of file randomgeneratorsyncmanager.c.

Function Documentation

◆ GetRandom01()

float GetRandom01 ( RandomGeneratorSyncUsage  usage_index)

Definition at line 31 of file randomgeneratorsyncmanager.c.

◆ GetRandomInRange()

float GetRandomInRange ( RandomGeneratorSyncUsage  usage_index,
float  min,
float  max 
)

Definition at line 40 of file randomgeneratorsyncmanager.c.

◆ RandomGeneratorSyncManager()

void RandomGeneratorSyncManager ( DayZPlayer  player)

Definition at line 17 of file randomgeneratorsyncmanager.c.

Variable Documentation

◆ m_player

DayZPlayer m_player

Definition at line 15 of file randomgeneratorsyncmanager.c.

◆ randomValuesArray

float randomValuesArray[USAGE_COUNT]

Definition at line 14 of file randomgeneratorsyncmanager.c.

◆ USAGE_COUNT