Night Sky Engine
A fighting game framework made in Unreal Engine
Loading...
Searching...
No Matches
FRandomManager Struct Reference

#include <RandomManager.h>

Public Member Functions

 FRandomManager ()
 FRandomManager (uint32 InSeed)
int Rand ()
int RandRange (int Min, int Max)
void Reseed (uint32 InSeed)
uint32 GetSeed () const
int32 GenerateRandomNumber ()

Detailed Description

Definition at line 6 of file RandomManager.h.

Constructor & Destructor Documentation

◆ FRandomManager() [1/2]

FRandomManager::FRandomManager ( )
inline

Definition at line 12 of file RandomManager.h.

◆ FRandomManager() [2/2]

FRandomManager::FRandomManager ( uint32 InSeed)
inline

Definition at line 13 of file RandomManager.h.

Member Function Documentation

◆ GenerateRandomNumber()

int32 FRandomManager::GenerateRandomNumber ( )

Definition at line 4 of file RandomManager.cpp.

◆ GetSeed()

uint32 FRandomManager::GetSeed ( ) const
inline

Definition at line 39 of file RandomManager.h.

◆ Rand()

int FRandomManager::Rand ( )
inline

Definition at line 15 of file RandomManager.h.

◆ RandRange()

int FRandomManager::RandRange ( int Min,
int Max )
inline

Definition at line 21 of file RandomManager.h.

◆ Reseed()

void FRandomManager::Reseed ( uint32 InSeed)
inline

Definition at line 34 of file RandomManager.h.


The documentation for this struct was generated from the following files:
  • C:/Users/wistf/Unreal Projects/NightSkyEngine/Source/NightSkyEngine/Battle/RandomManager.h
  • C:/Users/wistf/Unreal Projects/NightSkyEngine/Source/NightSkyEngine/Battle/RandomManager.cpp