File size: 447 Bytes
24b81cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class UUIDApi
{
	/**
	\brief Creates a 128bit UUID using system APIs
	@code
		int uuid[4];
		UUIDApi.Generate(uuid);
	@endcode
	 */
	static proto void Generate(inout int id[4]);

	/**
	\brief Output the UUID as standard format string (eg. 123e4567-e89b-12d3-a456-426655440000)
	@code
		int uuid[4];
		Print(UUIDApi.FormatString(uuid));
	
		>> "123e4567-e89b-12d3-a456-426655440000"
	@endcode
	 */
	static proto string FormatString(int id[4]);

};