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

From Second Life Wiki
Jump to: navigation, search
m
Line 62: Line 62:
 
|-
 
|-
 
| identifier
 
| identifier
| : string,
+
| : &[[#identifier|identifier]],
 
|-
 
|-
 
| persist
 
| persist

Revision as of 16:35, 31 July 2010

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


/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.