mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-29 15:47:46 +00:00
remove debug to test rngmgr;
This commit is contained in:
parent
92861799f8
commit
becbc4d54f
1 changed files with 0 additions and 9 deletions
|
@ -178,15 +178,6 @@ void DebugCommandMgr::set( char* data, Entity::Player& player, std::shared_ptr<
|
||||||
|
|
||||||
if( ( ( subCommand == "pos" ) || ( subCommand == "posr" ) ) && ( params != "" ) )
|
if( ( ( subCommand == "pos" ) || ( subCommand == "posr" ) ) && ( params != "" ) )
|
||||||
{
|
{
|
||||||
auto& rngMgr = Common::Service< RNGMgr >::ref();
|
|
||||||
auto state = rngMgr.getRandGenerator( 0, 10 );
|
|
||||||
auto arr = state.nextCount< 10 >();
|
|
||||||
|
|
||||||
for( auto val : arr )
|
|
||||||
{
|
|
||||||
Logger::info( std::to_string( val ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
int32_t posX;
|
int32_t posX;
|
||||||
int32_t posY;
|
int32_t posY;
|
||||||
int32_t posZ;
|
int32_t posZ;
|
||||||
|
|
Loading…
Add table
Reference in a new issue