RequestCreateInventoryItem() public method

public RequestCreateInventoryItem ( IClientAPI remoteClient, UUID transactionID, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte type, byte wearableType, uint nextOwnerMask ) : void
remoteClient IClientAPI
transactionID UUID
folderID UUID
callbackID uint
description string
name string
invType sbyte
type sbyte
wearableType byte
nextOwnerMask uint
return void
コード例 #1
0
        public void RequestCreateInventoryItem(IClientAPI remoteClient,
                                               UUID transactionID, UUID folderID, uint callbackID,
                                               string description, string name, sbyte invType,
                                               sbyte type, byte wearableType, uint nextOwnerMask)
        {
            AssetXferUploader uploader = null;

            lock (XferUploaders)
            {
                if (XferUploaders.ContainsKey(transactionID))
                {
                    uploader = XferUploaders[transactionID];
                }
            }

            if (uploader != null)
            {
                uploader.RequestCreateInventoryItem(
                    remoteClient, transactionID, folderID,
                    callbackID, description, name, invType, type,
                    wearableType, nextOwnerMask);
            }
            else
            {
                m_log.ErrorFormat(
                    "[AGENT ASSET TRANSACTIONS]: Could not find uploader with transaction ID {0} when handling request to create inventory item {1} from {2}",
                    transactionID, name, remoteClient.Name);
            }
        }
コード例 #2
0
        public void RequestCreateInventoryItem(IClientAPI remoteClient,
                                               UUID transactionID, UUID folderID, uint callbackID,
                                               string description, string name, sbyte invType,
                                               sbyte type, byte wearableType, uint nextOwnerMask)
        {
            AssetXferUploader uploader = RequestXferUploader(transactionID);

            uploader.RequestCreateInventoryItem(
                remoteClient, folderID, callbackID,
                description, name, invType, type, wearableType, nextOwnerMask);
        }
コード例 #3
0
        public void RequestCreateInventoryItem(IClientAPI remoteClient, UUID transactionID, UUID folderID,
                                               uint callbackID, string description, string name, sbyte invType,
                                               sbyte type, byte wearableType, uint nextOwnerMask)
        {
            AssetXferUploader uploader = null;

            lock (XferUploaders)
            {
                XferUploaders.TryGetValue(transactionID, out uploader);
            }

            if (uploader != null)
            {
                uploader.RequestCreateInventoryItem(remoteClient, transactionID, folderID,
                                                    callbackID, description, name, invType, type,
                                                    wearableType, nextOwnerMask);
            }
        }