-
Notifications
You must be signed in to change notification settings - Fork 0
Experience Tools
Experience Tools provide a way to request persistent permissions across multiple logins and with multiple objects and scripts. In order to use these functions, you must have an experience key. For further information, see Experiences in Mobius Grid in the Mobius Grid Discord's LSL Section.
At this time only Mobius Grid's version of YEngine has support for experience tools.
The Experience Tools API fall into three categories:
• integer llAgentInExperience(key agent) • list llGetExperienceDetails(key experience_id)
• event experience_permissions(key agent) • event experience_permissions_denied(key agent, integer reason) • void llRequestExperiencePermissions(key agent, string name)
These are all asynchronous functions, they all return a handle that corresponds to a dataserver event.
- key llReadKeyValue(string k)
- key llCreateKeyValue(string k, string v)
- key llUpdateKeyValue(string k, string v, integer checked, string original_value)
- key llDeleteKeyValue(string k)
- key llDataSizeKeyValue () – Gets the number of bytes used by the experience along with the experience's byte quote
- key llKeysKeyValue(integer start, integer count) – Gets the names of the keys
- key llKeyCountKeyValue () – Gets the number of keys
- string llGetExperienceErrorMessage(integer value) – Converts an integer error code to a wordy string representation | LSL Constant | ID | Message returned via llGetExperienceErrorMessage | Description | | XP_ERROR_NONE | 0 | no error | | XP_ERROR_THROTTLED | 1 | | XP_ERROR_ | | XP_ERROR_ | | XP_ERROR_ | | XP_ERROR_ | | XP_ERROR_ | | XP_ERROR_ |