public RequestUpload ( |
||
asset | The |
|
storeLocal | bool | If True, the asset once uploaded will be stored on the simulator /// in which the client was connected in addition to being stored on the asset server |
Результат | UUID |
public UUID RequestUpload(Asset asset, bool storeLocal)
{
if (asset.AssetData == null)
throw new ArgumentException("Can't upload an asset with no data (did you forget to call Encode?)");
UUID assetID;
UUID transferID = RequestUpload(out assetID, asset.AssetType, asset.AssetData, storeLocal);
asset.AssetID = assetID;
return transferID;
}
AssetManager::RequestUpload ( AssetType type, byte data, bool storeLocal ) : UUID | |
AssetManager::RequestUpload ( UUID &assetID, AssetType type, byte data, bool storeLocal ) : UUID | |
AssetManager::RequestUpload ( UUID &assetID, AssetType type, byte data, bool storeLocal, UUID transactionID ) : UUID |