1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-28 15:17:46 +00:00

fix missing include in RNGMgr, expose rng engine

This commit is contained in:
Tahir 2024-06-19 02:44:46 +01:00
parent 6f7198bd5a
commit 0e55c62e2d

View file

@ -10,6 +10,8 @@
#include <type_traits>
#include <vector>
#include <Logging/Logger.h>
namespace Sapphire::World::Manager
{
/*!
@ -95,6 +97,11 @@ namespace Sapphire::World::Manager
return RandGenerator< T >( m_engine );
}
std::shared_ptr< std::mt19937 > getRNGEngine()
{
return m_engine;
}
private:
template< std::size_t STATE_SIZE >