Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
api:uuid:zh [2022/08/11 10:28]
fight_xing created
api:uuid:zh [2023/11/29 13:51] (current)
hfsr [UUID API]
Line 1: Line 1:
 UUID API UUID API
 --------- ---------
 +**(OpenOS 1.6新加入)**
  
-**本篇文章的部分/​全部内容还没有进行翻译。** +uuid API是一个用于创建128位随机标识码的简易运行库。
- +
-**(new in OpenOS 1.6)** +
- +
-The uuid API is a very simple library for creating ​128 bit random identifiers.+
  
   * ''​uuid.next() string''​   * ''​uuid.next() string''​
  
-  ​Returns ​128 bit random identifiers,​ represented as a hex value in a string grouped by 8444, and 12 hex characters, separated by dashes.+  ​返回128位随机标识码,以16进制数值的字符串形式表示,按照844412的模式分组,中间用破折号分开。
  
-  ​e.g. `34eb7b28-14d3-4767-b326-dd1609ba92e`. You might recognize this pattern as it is the same used for component addressing.+  ​例如:`34eb7b28-14d3-4767-b326-dd1609ba92e`。你可能会发现组件地址也使用了同样的模式。
  
 ```lua ```lua