Difference between revisions of "UUID"

From Second Life Wiki
Jump to navigation Jump to search
(adding hr)
Line 7: Line 7:
== The UUID and Secondlife ==
== 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.
In Secondlife every object and every avatar has an UUID and they can be split up into object and avatar UUID's.
SL uses Version 4 type UUIDs as defined in {{RFC|4122|target=section-4.1.3}}, though there are some that are not V4.


=== Object UUIDs ===
=== Object UUIDs ===

Revision as of 16:04, 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.

SL uses Version 4 type UUIDs as defined in RFC-4122, though there are some that are not V4.

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