C# Класс Universe.Services.InventoryCAPS

Наследование: IExternalCapsRequestHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateInventoryCategory ( string path, Stream request, OSHttpRequest httpRequest, 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, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]

This handles the uploading of some inventory types

NewAgentInventoryRequestVariablePrice ( string path, Stream request, OSHttpRequest httpRequest, 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

Приватные методы

Метод Описание
ChargeUser ( string assetType, OSDMap map ) : bool
ChargeUser ( string assetType, OSDMap map, int &charge, int &resourceCost ) : bool
InternalNewAgentInventoryRequest ( OSDMap map, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : OSDMap
InventoryCAPS ( ) : System

Описание методов

CreateInventoryCategory() публичный Метод

public CreateInventoryCategory ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
Результат byte[]

HandleFetchInventory() публичный Метод

public HandleFetchInventory ( Stream request, UUID agentID ) : byte[]
request Stream
agentID UUID
Результат byte[]

HandleFetchInventoryDescendents() публичный Метод

public HandleFetchInventoryDescendents ( Stream request, UUID agentID ) : byte[]
request Stream
agentID UUID
Результат byte[]

HandleFetchLib() публичный Метод

public HandleFetchLib ( Stream request, UUID agentID ) : byte[]
request Stream
agentID UUID
Результат byte[]

HandleFetchLibDescendents() публичный Метод

public HandleFetchLibDescendents ( Stream request, UUID agentID ) : byte[]
request Stream
agentID UUID
Результат byte[]

IncomingCapsDestruction() публичный Метод

public IncomingCapsDestruction ( ) : void
Результат void

IncomingCapsRequest() публичный Метод

public IncomingCapsRequest ( UUID agentID, Framework region, ISimulationBase simbase, OSDMap &capURLs ) : void
agentID UUID
region Framework
simbase ISimulationBase
capURLs OSDMap
Результат void

NewAgentInventoryRequest() публичный Метод

This handles the uploading of some inventory types
public NewAgentInventoryRequest ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
Результат byte[]

NewAgentInventoryRequestVariablePrice() публичный Метод

public NewAgentInventoryRequestVariablePrice ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
Результат byte[]

UploadCompleteHandler() публичный Метод

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
Результат UUID