Difference between revisions of "User:Dzonatas Sol/SNOW-375 Resources/ControlGroup"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(2 intermediate revisions by the same user not shown)
Line 24: Line 24:


|}
|}
Note: Description syntax is only based on LLIDL.




Line 43: Line 45:
== group ==
== group ==


group : string
&group = string


Name of the ControlGroup.
Name of the ControlGroup.
Line 50: Line 52:
== identifier ==
== identifier ==


identifier : string
&identifier = string


Name of the ControlGroup variable.
Name of the ControlGroup variable.
Line 57: Line 59:
== defvar ==
== defvar ==


&defvar =
{
{
{|
{|
|-
|-
| identifier
| identifier
| : string,
| : &[[#identifier|identifier]],
|-
|-
| persist
| persist
Line 80: Line 83:
== curvar ==
== curvar ==


curvar : llsd
&curvar = llsd


The current value of ControlGrounp variable in nested LLSD.
The current value of ControlGrounp variable as nested LLSD.

Latest revision as of 06:34, 1 August 2010

Resource Method Description
/ControlGroup GET <- [ &group , ... ]
/ControlGroup/<group> GET ?? &group <- [ &defvar, ... ]
/ControlGroup/<group>/<identifier> GET ?? &group ?? &identifier <- &curvar

Note: Description syntax is only based on LLIDL.


/ControlGroup

Response is a list of control &groups


/ControlGroup/<group>

Response is a list of valid variable &identifiers in a controlgroup with default settings


/ControlGroup/<group>/<identifier>

Response is the current settings for the specific variable identified


group

&group = string

Name of the ControlGroup.


identifier

&identifier = string

Name of the ControlGroup variable.


defvar

&defvar = {

identifier : &identifier,
persist : boolean,
comment : string,
type : int,
value : llsd

}


curvar

&curvar = llsd

The current value of ControlGrounp variable as nested LLSD.