diff options
Diffstat (limited to 'OpenSim/Framework/Capabilities')
-rw-r--r-- | OpenSim/Framework/Capabilities/Caps.cs | 6 | ||||
-rw-r--r-- | OpenSim/Framework/Capabilities/LLSDAssetUploadResponse.cs | 14 |
2 files changed, 17 insertions, 3 deletions
diff --git a/OpenSim/Framework/Capabilities/Caps.cs b/OpenSim/Framework/Capabilities/Caps.cs index 6f32adf..72283de 100644 --- a/OpenSim/Framework/Capabilities/Caps.cs +++ b/OpenSim/Framework/Capabilities/Caps.cs | |||
@@ -962,10 +962,10 @@ namespace OpenSim.Framework.Capabilities | |||
962 | item.AssetType = assType; | 962 | item.AssetType = assType; |
963 | item.InvType = inType; | 963 | item.InvType = inType; |
964 | item.Folder = parentFolder; | 964 | item.Folder = parentFolder; |
965 | item.CurrentPermissions = 2147483647; | 965 | item.CurrentPermissions = (uint)PermissionMask.All; |
966 | item.BasePermissions = 2147483647; | 966 | item.BasePermissions = (uint)PermissionMask.All; |
967 | item.EveryOnePermissions = 0; | 967 | item.EveryOnePermissions = 0; |
968 | item.NextPermissions = 2147483647; | 968 | item.NextPermissions = (uint)(PermissionMask.Move | PermissionMask.Modify | PermissionMask.Transfer); |
969 | item.CreationDate = Util.UnixTimeSinceEpoch(); | 969 | item.CreationDate = Util.UnixTimeSinceEpoch(); |
970 | 970 | ||
971 | if (AddNewInventoryItem != null) | 971 | if (AddNewInventoryItem != null) |
diff --git a/OpenSim/Framework/Capabilities/LLSDAssetUploadResponse.cs b/OpenSim/Framework/Capabilities/LLSDAssetUploadResponse.cs index 08f14e3..0d6f7f9 100644 --- a/OpenSim/Framework/Capabilities/LLSDAssetUploadResponse.cs +++ b/OpenSim/Framework/Capabilities/LLSDAssetUploadResponse.cs | |||
@@ -39,4 +39,18 @@ namespace OpenSim.Framework.Capabilities | |||
39 | { | 39 | { |
40 | } | 40 | } |
41 | } | 41 | } |
42 | |||
43 | [OSDMap] | ||
44 | public class LLSDNewFileAngentInventoryVariablePriceReplyResponse | ||
45 | { | ||
46 | public int resource_cost; | ||
47 | public string state; | ||
48 | public int upload_price; | ||
49 | public string rsvp; | ||
50 | |||
51 | public LLSDNewFileAngentInventoryVariablePriceReplyResponse() | ||
52 | { | ||
53 | state = "confirm_upload"; | ||
54 | } | ||
55 | } | ||
42 | } \ No newline at end of file | 56 | } \ No newline at end of file |