Provides an easy wrapper for random number generation. More...
#include <RandomGen.h>
Public Member Functions | |
void | Seed () |
void | Seed (int32 newSeed) |
bool | WithProbability (double probability) |
void | RegisterLifeCycle () |
void | Save (USaveEvolvingBehavior *sg) |
void | Load (USaveEvolvingBehavior *sg) |
int32_t | UniformIntInRange (int32_t lower, int32_t upper) |
double | UniformRealInRange (double lower, double upper) |
double | GaussianReal (double mean, double stdDev) |
template<typename KeyT , typename ValueT > | |
TPair< KeyT, ValueT > & | RandomMapEntry (TMap< KeyT, ValueT > map) |
void | DataLoaded () |
virtual void | DataLoaded_Implementation () override |
void | DataSaved () |
virtual void | DataSaved_Implementation () override |
Public Member Functions inherited from UService | |
virtual void | Init (UServiceInjector *injector) |
Public Member Functions inherited from ISaveable | |
void | DataLoaded () |
void | DataSaved () |
Additional Inherited Members | |
Protected Attributes inherited from UService | |
UServiceInjector * | serviceInjector |
Provides an easy wrapper for random number generation.