mirror of
https://github.com/barkeser2002/flower.git
synced 2026-09-25 19:36:20 +03:00
16 lines
358 B
C++
16 lines
358 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <cstdint>
|
|
|
|
namespace engine
|
|
{
|
|
// Standard string uuid.
|
|
// String uuid maybe slow than uint128, but current speed is enough.
|
|
using UUID = std::string;
|
|
[[nodiscard]] extern UUID buildUUID();
|
|
|
|
// Random device guid, faster than UUID.
|
|
using UUID64u = uint64_t;
|
|
[[nodiscard]] extern UUID64u buildRuntimeUUID64u();
|
|
} |