Difference between revisions of "Dataserver"

From Second Life Wiki
Jump to navigation Jump to search
Line 8: Line 8:
! Function
! Function
! Input
! Input
! Type
! Decode
! colspan="4" {{!}} Description
! colspan="4" {{!}} Description
{{!}}-
{{!}}-
Line 16: Line 16:
{{!}}-
{{!}}-
{{!}} colspan="2" {{!}} {{LSLG|llGetNumberOfNotecardLines}}
{{!}} colspan="2" {{!}} {{LSLG|llGetNumberOfNotecardLines}}
{{!}} {{LSLG|integer}}
{{!}} ({{LSLG|integer}})
{{!}} colspan="4" {{!}} The number of lines in the notecard requested.
{{!}} colspan="4" {{!}} The number of lines in the notecard requested.
{{!}}-
{{!}}-
{{!}} rowspan="7" {{!}} {{LSLG|llRequestAgentData}}
{{!}} rowspan="7" {{!}} {{LSLG|llRequestAgentData}}
{{!}} {{LSLG|DATA_ONLINE}}  
{{!}} {{LSLG|DATA_ONLINE}}  
{{!}} {{LSLG|integer}} {{HoverText|boolean|TRUE or FALSE}}
{{!}} ({{LSLG|integer}}) {{HoverText|boolean|TRUE or FALSE}}
{{!}} colspan="4" {{!}} If the requested agent is online
{{!}} colspan="4" {{!}} If the requested agent is online
{{!}}-
{{!}}-
Line 33: Line 33:
{{!}}-
{{!}}-
{{!}} {{LSLG|DATA_RATING}}
{{!}} {{LSLG|DATA_RATING}}
{{!}} {{LSLG|llCSV2List}}
{{!}} {{LSLG|llCSV2List}}()
{{!}} colspan="4" {{!}} [behavior, 0, appearance, 0, building, 0]
{{!}} colspan="4" {{!}} [behavior, 0, appearance, 0, building, 0]
{{!}}-
{{!}}-
{{!}} rowspan="3" {{!}} {{LSLG|DATA_PAYINFO}}
{{!}} rowspan="3" {{!}} {{LSLG|DATA_PAYINFO}}
{{!}} rowspan="3" {{!}} {{LSLG|integer}} bit-field
{{!}} rowspan="3" {{!}} ({{LSLG|integer}}) bit-field
! colspan="2" {{!}} Flag
! colspan="2" {{!}} Flag
! Value
! Value
Line 52: Line 52:
{{!}} {{LSLG|llRequestInventoryData}}
{{!}} {{LSLG|llRequestInventoryData}}
{{!}} Landmark
{{!}} Landmark
{{!}} {{LSLG|vector}}
{{!}} ({{LSLG|vector}})
{{!}} colspan="4" {{!}} global_position_of_landmark = {{LSLG|llGetRegionCorner}}() + (vector)data;
{{!}} colspan="4" {{!}} global_position_of_landmark = {{LSLG|llGetRegionCorner}}() + (vector)data;
{{!}}-
{{!}}-
{{!}} rowspan="9" {{!}} {{LSLG|llRequestSimulatorData}}
{{!}} rowspan="9" {{!}} {{LSLG|llRequestSimulatorData}}
{{!}} {{LSLG|DATA_SIM_POS}}  
{{!}} {{LSLG|DATA_SIM_POS}}  
{{!}} {{LSLG|vector}}
{{!}} ({{LSLG|vector}})
{{!}} colspan="4" {{!}} The sims global position.
{{!}} colspan="4" {{!}} The sims global position.
{{!}}-
{{!}}-

Revision as of 22:34, 11 February 2007

Description

Event: dataserver( key queryid, string data ){ ; }

Triggered when task receives asynchronous data

• key queryid
• string data

Specification

Function Input Decode Description
llGetNotecardLine string The line in the requested notecard, if EOF the line requested is past the end of the notecard.
llGetNumberOfNotecardLines (integer) The number of lines in the notecard requested.
llRequestAgentData DATA_ONLINE (integer) boolean If the requested agent is online
DATA_NAME string The requested agents name
DATA_BORN string The account creation/"born on" date as a string in in ISO 8601 format of YYYY-MM-DD.
DATA_RATING llCSV2List() [behavior, 0, appearance, 0, building, 0]
DATA_PAYINFO (integer) bit-field Flag Value Description
PAYMENT_INFO_ON_FILE 0x1 If payment info is on file.
PAYMENT_INFO_USED 0x2 If payment info has been used.
llRequestInventoryData Landmark (vector) global_position_of_landmark = llGetRegionCorner() + (vector)data;
llRequestSimulatorData DATA_SIM_POS (vector) The sims global position.
DATA_SIM_STATUS string Value Description
"up" simulator currently up and running
"down" simulator currently down
"starting" simulator currently starting
"stopping" simulator currently stopping
"crashed" simulator has crashed
"unknown" simulator status unknown or unknown simulator
DATA_BORN string The account creation/"born on" date as a string in in ISO 8601 format of YYYY-MM-DD.

Examples

Deep Notes

Signature

event void dataserver( key queryid, string data );