C# 클래스 WhiteCore.Services.InventoryCAPS

상속: IExternalCapsRequestHandler
파일 보기 프로젝트 열기: WhiteCoreSim/WhiteCore-Dev

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

CreateInventoryCategory() 공개 메소드

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
리턴 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, 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
리턴 byte[]

NewAgentInventoryRequestVariablePrice() 공개 메소드

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
리턴 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