L3DT documentation
Large 3D terrain generator



Get a unique identifier (UID) from the application as a signed integer.


Declaration helper/zApp.h
Implementation helper/zApp.cpp

Function prototype

long zapp_GetUID();

Return value

-1 if an error occurs, and otherwise a signed integer of value 0 or greater.


Uniqueness and wrap-around

Each call to zapp_GetUID increments an internal counter in L3DT, such that subsequent calls are guaranteed to receive a unique value that is greater than all previous values, up until wraparound occurs at circa 2 billion.

zeolite/functions/zapp_getuid.txt · Last modified: 2017/08/31 06:30 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki