aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Capabilities
diff options
context:
space:
mode:
authorUbitUmarov2012-09-11 23:06:29 +0100
committerUbitUmarov2012-09-11 23:06:29 +0100
commit013e94af5d45a7c99e46e01d9c5965a79ac1b231 (patch)
tree86e1a03119734a7a6d0511ccbff90de385478738 /OpenSim/Capabilities
parent let LLSDAssetUploadRequest include asset_resources information plus let (diff)
downloadopensim-SC_OLD-013e94af5d45a7c99e46e01d9c5965a79ac1b231.zip
opensim-SC_OLD-013e94af5d45a7c99e46e01d9c5965a79ac1b231.tar.gz
opensim-SC_OLD-013e94af5d45a7c99e46e01d9c5965a79ac1b231.tar.bz2
opensim-SC_OLD-013e94af5d45a7c99e46e01d9c5965a79ac1b231.tar.xz
report mesh upload costs ( fake values)
Diffstat (limited to 'OpenSim/Capabilities')
-rw-r--r--OpenSim/Capabilities/LLSDAssetUploadResponse.cs23
1 files changed, 22 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/LLSDAssetUploadResponse.cs b/OpenSim/Capabilities/LLSDAssetUploadResponse.cs
index 0d6f7f9..18285b5 100644
--- a/OpenSim/Capabilities/LLSDAssetUploadResponse.cs
+++ b/OpenSim/Capabilities/LLSDAssetUploadResponse.cs
@@ -30,11 +30,32 @@ using System;
30namespace OpenSim.Framework.Capabilities 30namespace OpenSim.Framework.Capabilities
31{ 31{
32 [OSDMap] 32 [OSDMap]
33 public class LLSDAssetUploadResponsePricebrkDown
34 {
35 public int mesh_streaming;
36 public int mesh_physics;
37 public int mesh_instance;
38 public int texture;
39 public int model;
40 }
41
42 [OSDMap]
43 public class LLSDAssetUploadResponseData
44 {
45 public double resource_cost;
46 public double model_streaming_cost;
47 public double simulation_cost;
48 public double physics_cost;
49 public LLSDAssetUploadResponsePricebrkDown upload_price_breakdown = new LLSDAssetUploadResponsePricebrkDown();
50 }
51
52 [OSDMap]
33 public class LLSDAssetUploadResponse 53 public class LLSDAssetUploadResponse
34 { 54 {
35 public string uploader = String.Empty; 55 public string uploader = String.Empty;
36 public string state = String.Empty; 56 public string state = String.Empty;
37 57 public int upload_price = 0;
58 public LLSDAssetUploadResponseData data = null;
38 public LLSDAssetUploadResponse() 59 public LLSDAssetUploadResponse()
39 { 60 {
40 } 61 }