Difference between revisions of "Current Sim Capabilities"

From Second Life Wiki
Jump to navigation Jump to search
Line 31: Line 31:
The following are among the sub-capabilities returned by the sim cap. Each has its own protocols which will be discussed in separate pages:
The following are among the sub-capabilities returned by the sim cap. Each has its own protocols which will be discussed in separate pages:


* [[AgentPreferences]]
* [[AgentState]]
* [[AttachmentResources]]
* [[AttachmentResources]]
* [[AvatarPickerSearch]]
* [[AvatarPickerSearch]]
* [[AvatarRenderInfo]]
* [[CharacterProperties]]
* [[ChatSessionRequest]]
* [[ChatSessionRequest]]
* [[CopyInventoryFromNotecard]]
* [[CopyInventoryFromNotecard]]
* [[CreateInventoryCategory]]
* [[DispatchRegionInfo]]
* [[DispatchRegionInfo]]
* [[EnvironmentSettings]]
* [[EstateChangeInfo]]
* [[EstateChangeInfo]]
* [[EventQueueGet]]
* [[EventQueueGet]]
* [[FacebookConnect]]
* [[FetchInventory2]]
* [[FetchInventoryDescendents2]]
* [[FetchInventory]]
* [[FetchInventory]]
* [[ObjectMedia]]
* [[FetchLib2]]
* [[ObjectMediaNavigate]]
* [[FetchLibDescendents2]]
* [[FetchLibDescendents]]
* [[FetchLib]]
* [[FetchLib]]
* [[FetchLibDescendents]]
* [[FlickrConnect]]
* [[GetDisplayNames]]
* [[GetDisplayNames]]
* [[GetTexture]]
* [[GetMesh2]]
* [[GetMesh]]
* [[GetMesh]]
* [[GetObjectCost]]
* [[GetObjectCost]]
* [[GetObjectPhysicsData]]
* [[GetObjectPhysicsData]]
* [[GetTexture]]
* [[GroupAPIv1]]
* [[GroupMemberData]]
* [[GroupMemberData]]
* [[GroupProposalBallot]]
* [[GroupProposalBallot]]
* [[HomeLocation]]
* [[HomeLocation]]
* [[IncrementCOFVersion]]
* [[LandResources]]
* [[LandResources]]
* [[LSLSyntax]]
* [[MapLayerGod]]
* [[MapLayer]]
* [[MapLayer]]
* [[MapLayerGod]]
* [[MeshUploadFlag]]
* [[NavMeshGenerationStatus]]
* [[NewFileAgentInventoryVariablePrice]]
* [[NewFileAgentInventory]]
* [[NewFileAgentInventory]]
* [[NewFileAgentInventoryVariablePrice]]
* [[ObjectAdd]]
* [[ObjectAdd]]
* [[ParcelPropertiesUpdate]]
* [[ObjectMediaNavigate]]
* [[ObjectMedia]]
* [[ObjectNavMeshProperties]]
* [[ParcelMediaURLFilterList]]
* [[ParcelMediaURLFilterList]]
* [[ParcelNavigateMedia]]
* [[ParcelNavigateMedia]]
* [[ParcelPropertiesUpdate]]
* [[ParcelVoiceInfoRequest]]
* [[ParcelVoiceInfoRequest]]
* [[ProductInfoRequest]]
* [[ProductInfoRequest]]
Line 66: Line 85:
* [[RenderMaterials]]
* [[RenderMaterials]]
* [[RequestTextureDownload]]
* [[RequestTextureDownload]]
* [[ResourceCostSelected]]
* [[RetrieveNavMeshSrc]]
* [[SearchStatRequest]]
* [[SearchStatRequest]]
* [[SearchStatTracking]]
* [[SearchStatTracking]]
* [[SendPostcard]]
* [[SendPostcard]]
* [[SendUserReportWithScreenshot]]
* [[SendUserReport]]
* [[SendUserReport]]
* [[SendUserReportWithScreenshot]]
* [[ServerReleaseNotes]]
* [[ServerReleaseNotes]]
* [[SetDisplayName]]
* [[SimConsoleAsync]]
* [[SimConsole]]
* [[SimConsole]]
* [[SimulatorFeatures]]
* [[SimulatorFeatures]]
* [[SetDisplayName]]
* [[StartGroupProposal]]
* [[StartGroupProposal]]
* [[TerrainNavMeshProperties]]
* [[TextureStats]]
* [[TextureStats]]
* [[TwitterConnect]]
* [[UntrustedSimulatorMessage]]
* [[UntrustedSimulatorMessage]]
* [[UpdateAgentInformation]]
* [[UpdateAgentInformation]]
* [[UpdateAgentLanguage]]
* [[UpdateAgentLanguage]]
* [[UpdateAvatarAppearance]]
* [[UpdateGestureAgentInventory]]
* [[UpdateGestureAgentInventory]]
* [[UpdateGestureTaskInventory]]
* [[UpdateNotecardAgentInventory]]
* [[UpdateNotecardAgentInventory]]
* [[UpdateNotecardTaskInventory]]
* [[UpdateScriptAgent]]
* [[UpdateScriptAgent]]
* [[UpdateGestureTaskInventory]]
* [[UpdateNotecardTaskInventory]]
* [[UpdateScriptTask]]
* [[UpdateScriptTask]]
* [[UploadBakedTexture]]
* [[UploadBakedTexture]]
* [[UploadObjectAsset]]
* [[UploadObjectAsset]]
* [[ViewerMetrics]]
* [[ViewerStartAuction]]
* [[ViewerStartAuction]]
* [[ViewerStats]]
* [[ViewerStats]]

Revision as of 07:16, 12 March 2015

Introduction

In the current protocols, there appear to be at least 2 kinds of capabilities: Sim capabilities and Sub-Capabilities obtained from the Sim Capability. The current login protocols return a "seed-capability" which is actually the Sim-Capability of the sim the avatar enters upon performing a full login. This will change with the new login protocols.

The following slides are from an October, 2007 presentation by Tess Linden. Though it was an internal Linden Lab presentation, the slides may be useful for those residents trying to learn Second Life's messaging and capability systems. Message_System_and_Capabilities

Accessing Capabilities

A typical capability is of the form: https://sim1234.agni.lindenlab.com:12345/cap/UUID

In the current client, sim capabilities are accessed via an https request of the form:

https request {POST, URL:port, path, body, header}

where

• URL:port is of the form: sim1234.agni.lindenlab.com:12345;
• path is of the form: /cap/UUID;
• body is an xml-encoded LLSD array of the form: <llsd><array><string>request1</string><string>request2</string></array></llsd>
• Header is of the form: "content-type": "application/xml";


The response from a sim capability transaction is an xml-encoded LLSD dictionary with key, value pairs in the form:

• <llsd><map><key>request1</key><string>Capability1</string><key>request2</key><string>Capability2</string</map></llsd>


sub-capabilities apparently use the same protocol, but the body of the https request is dependent on which capability is used, as is the result.

Sub Capabilities

The following are among the sub-capabilities returned by the sim cap. Each has its own protocols which will be discussed in separate pages:

External Links

[1] -- EventQueueGet - libsecondlife

[2] -- MapLayer - libsecondlife

[3] -- NewAgentInventory - libsecondlife

[4] -- UpdateNotecardAgentInventory - libsecondlife