Difference between revisions of "UUID"

From Second Life Wiki
Jump to navigation Jump to search
(adding more information about UUID's and how they relate to SL)
(adding hr)
Line 15: Line 15:
* Sounds
* Sounds
* Notecards
* Notecards
 
----
 
*The UUID of an object may change when rezzed or after a sim restart or crash
*The UUID of an object may change when rezzed or after a sim restart or crash
*Access to the UUID of objects is only available to the creator of the object, anyone with full permissions on the object, and Secondlife employees.
*Access to the UUID of objects is only available to the creator of the object, anyone with full permissions on the object, and Secondlife employees.
Line 22: Line 21:
=== Avatar UUIDs ===
=== Avatar UUIDs ===
* Avatars
* Avatars
 
----
 
* The UUID of an avatar is publicly available both through scripting and through numerous third party databases
* The UUID of an avatar is publicly available both through scripting and through numerous third party databases

Revision as of 14:32, 25 May 2009

UUID is an abbreviation for Universally Unique Identifier. It is a 128-bit (16 byte) value which is generated in such a way as to make collisions very unlikely. They are often represented as a string of 32 hex characters with four dashes interspersed. See Wikipedia on UUIDs for more information.

In LSL they are stored in the key variable type (which is a specialized form of a string).

The UUID and Secondlife

In Secondlife every object and every avatar has an UUID and they can be split up into object and avatar UUID's.

Object UUIDs

  • Prims
  • Objects
  • Scripts
  • Textures (including sculpty textures)
  • Sounds
  • Notecards

  • The UUID of an object may change when rezzed or after a sim restart or crash
  • Access to the UUID of objects is only available to the creator of the object, anyone with full permissions on the object, and Secondlife employees.

Avatar UUIDs

  • Avatars

  • The UUID of an avatar is publicly available both through scripting and through numerous third party databases