You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
469 B
C++
19 lines
469 B
C++
|
4 years ago
|
/******************************************************************************
|
||
|
|
* File - uuid.cpp
|
||
|
|
* Author - Joey Pollack
|
||
|
|
* Date - 2022/05/23 (y/m/d)
|
||
|
|
* Mod Date - 2022/05/23 (y/m/d)
|
||
|
|
* Description - Generates 64 bit uuids
|
||
|
|
******************************************************************************/
|
||
|
|
|
||
|
|
#include "uuid.h"
|
||
|
|
#include <ctime>
|
||
|
|
|
||
|
|
namespace lunarium
|
||
|
|
{
|
||
|
|
std::mt19937_64 UUID::mt64(time(nullptr));
|
||
|
|
LUUID UUID::GetID()
|
||
|
|
{
|
||
|
|
return mt64();
|
||
|
|
}
|
||
|
|
}
|