diff options
Diffstat (limited to 'OpenSim/Framework/Communications/Capabilities/LLSDInventoryItem.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Capabilities/LLSDInventoryItem.cs | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Capabilities/LLSDInventoryItem.cs b/OpenSim/Framework/Communications/Capabilities/LLSDInventoryItem.cs new file mode 100644 index 0000000..2d1d441 --- /dev/null +++ b/OpenSim/Framework/Communications/Capabilities/LLSDInventoryItem.cs | |||
@@ -0,0 +1,83 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | |||
6 | namespace OpenSim.Region.Capabilities | ||
7 | { | ||
8 | [LLSDMap] | ||
9 | public class LLSDInventoryItem | ||
10 | { | ||
11 | public LLUUID parent_id; | ||
12 | |||
13 | public LLUUID asset_id; | ||
14 | public LLUUID item_id; | ||
15 | |||
16 | public string type; | ||
17 | public string inv_type; | ||
18 | public int flags; | ||
19 | |||
20 | public LLSDSaleInfo sale_info; | ||
21 | public string name; | ||
22 | public string desc; | ||
23 | public int created_at; | ||
24 | |||
25 | } | ||
26 | |||
27 | [LLSDMap] | ||
28 | public class LLSDPermissions | ||
29 | { | ||
30 | public LLUUID creator_id; | ||
31 | public LLUUID owner_id; | ||
32 | public LLUUID group_id; | ||
33 | public int base_mask; | ||
34 | public int owner_mask; | ||
35 | public int group_mask; | ||
36 | public int everyone_mask; | ||
37 | public int next_owner_mask; | ||
38 | public bool is_owner_group; | ||
39 | } | ||
40 | |||
41 | [LLSDMap] | ||
42 | public class LLSDSaleInfo | ||
43 | { | ||
44 | public int sale_price; | ||
45 | public string sale_type; | ||
46 | } | ||
47 | |||
48 | /* [LLSDMap] | ||
49 | public class LLSDFolderItem | ||
50 | { | ||
51 | public LLUUID folder_id; | ||
52 | public LLUUID parent_id; | ||
53 | public int type; | ||
54 | public string name; | ||
55 | }*/ | ||
56 | |||
57 | [LLSDMap] | ||
58 | public class LLSDInventoryDescendents | ||
59 | { | ||
60 | public LLSDArray folders= new LLSDArray(); | ||
61 | } | ||
62 | |||
63 | [LLSDMap] | ||
64 | public class LLSDFetchInventoryDescendents | ||
65 | { | ||
66 | public LLUUID folder_id; | ||
67 | public LLUUID owner_id; | ||
68 | public int sort_order; | ||
69 | public bool fetch_folders; | ||
70 | public bool fetch_items; | ||
71 | } | ||
72 | |||
73 | [LLSDMap] | ||
74 | public class LLSDInventoryFolderContents | ||
75 | { | ||
76 | public LLUUID agent___id; | ||
77 | public int descendents; | ||
78 | public LLUUID folder___id; // the (three "_") "___" so the serialising knows to change this to a "-" | ||
79 | public LLSDArray items = new LLSDArray(); | ||
80 | public LLUUID owner___id; | ||
81 | public int version; | ||
82 | } | ||
83 | } | ||