sm.uuid.generateNamed
Generates a named (version 5) uuid.
Kind: Function
Environments: Game, Terrain
Game
sm.uuid.generateNamed( namespace, name )
Parameters:
| Name | Type | Description |
|---|---|---|
namespace |
Uuid | A uuid namespace for the name. The namespace makes sure any equal name from different namespaces do not collide. |
name |
string | A name, to generate a uuid from. Provided the same namespace and name, the uuid will be the same. |
Returns:
| Type | Description |
|---|---|
| Uuid | The created uuid. |
Terrain
sm.uuid.generateNamed( namespace, name )
Open the full Terrain reference
Parameters:
| Name | Type | Description |
|---|---|---|
namespace |
Uuid | A uuid namespace for the name. The namespace makes sure any equal name from different namespaces do not collide. |
name |
string | A name, to generate a uuid from. Provided the same namespace and name, the uuid will be the same. |
Returns:
| Type | Description |
|---|---|
| Uuid | The created uuid. |