Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
GUIDWrapper.cpp
Go to the documentation of this file.
1
2
3namespace Divide {
4
6 // Always start from 1 as we use IDs mainly as key values
7 static std::atomic<I64> idGenerator{ 1 };
8 return idGenerator.fetch_add(1);
9}
10} // namespace Divide
static I64 generateGUID() noexcept
Definition: GUIDWrapper.cpp:5
Handle console commands that start with a forward slash.
Definition: AIProcessor.cpp:7
int64_t I64