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

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


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




Line 62: Line 64:
|-
|-
| identifier
| identifier
| : string,
| : &[[#identifier|identifier]],
|-
|-
| persist
| persist

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.