C# Class WhiteCore.Services.InventoryCAPS

Inheritance: IExternalCapsRequestHandler
Afficher le fichier Open project: WhiteCoreSim/WhiteCore-Dev

Méthodes publiques

Méthode Description
CreateInventoryCategory ( string path, Stream request, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
HandleFetchInventory ( Stream request, UUID agentID ) : byte[]
HandleFetchInventoryDescendents ( Stream request, UUID agentID ) : byte[]
HandleFetchLib ( Stream request, UUID agentID ) : byte[]
HandleFetchLibDescendents ( Stream request, UUID agentID ) : byte[]
IncomingCapsDestruction ( ) : void
IncomingCapsRequest ( UUID agentID, Framework region, ISimulationBase simbase, OSDMap &capURLs ) : void
NewAgentInventoryRequest ( string path, Stream request, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]

This handles the uploading of some inventory types

NewAgentInventoryRequestVariablePrice ( string path, Stream request, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
UploadCompleteHandler ( string assetName, string assetDescription, UUID assetID, UUID inventoryItem, UUID parentFolder, byte data, string inventoryType, string assetType, uint everyoneMask, uint groupMask, uint nextOwnerMask ) : UUID

Private Methods

Méthode Description
ChargeUser ( string assetType, OSDMap map ) : bool
ChargeUser ( string assetType, OSDMap map, int &charge, int &resourceCost ) : bool
InternalNewAgentInventoryRequest ( OSDMap map, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : OSDMap
InventoryCAPS ( ) : System

Method Details

CreateInventoryCategory() public méthode

public CreateInventoryCategory ( string path, Stream request, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse
Résultat byte[]

HandleFetchInventory() public méthode

public HandleFetchInventory ( Stream request, UUID agentID ) : byte[]
request Stream
agentID UUID
Résultat byte[]

HandleFetchInventoryDescendents() public méthode

public HandleFetchInventoryDescendents ( Stream request, UUID agentID ) : byte[]
request Stream
agentID UUID
Résultat byte[]

HandleFetchLib() public méthode

public HandleFetchLib ( Stream request, UUID agentID ) : byte[]
request Stream
agentID UUID
Résultat byte[]

HandleFetchLibDescendents() public méthode

public HandleFetchLibDescendents ( Stream request, UUID agentID ) : byte[]
request Stream
agentID UUID
Résultat byte[]

IncomingCapsDestruction() public méthode

public IncomingCapsDestruction ( ) : void
Résultat void

IncomingCapsRequest() public méthode

public IncomingCapsRequest ( UUID agentID, Framework region, ISimulationBase simbase, OSDMap &capURLs ) : void
agentID UUID
region Framework
simbase ISimulationBase
capURLs OSDMap
Résultat void

NewAgentInventoryRequest() public méthode

This handles the uploading of some inventory types
public NewAgentInventoryRequest ( string path, Stream request, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse
Résultat byte[]

NewAgentInventoryRequestVariablePrice() public méthode

public NewAgentInventoryRequestVariablePrice ( string path, Stream request, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse
Résultat byte[]

UploadCompleteHandler() public méthode

public UploadCompleteHandler ( string assetName, string assetDescription, UUID assetID, UUID inventoryItem, UUID parentFolder, byte data, string inventoryType, string assetType, uint everyoneMask, uint groupMask, uint nextOwnerMask ) : UUID
assetName string
assetDescription string
assetID UUID
inventoryItem UUID
parentFolder UUID
data byte
inventoryType string
assetType string
everyoneMask uint
groupMask uint
nextOwnerMask uint
Résultat UUID