diff options
Diffstat (limited to 'Common/OpenSim.Framework')
-rw-r--r-- | Common/OpenSim.Framework/LLSDHelpers.cs | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/Common/OpenSim.Framework/LLSDHelpers.cs b/Common/OpenSim.Framework/LLSDHelpers.cs index 5b73483..3b044a3 100644 --- a/Common/OpenSim.Framework/LLSDHelpers.cs +++ b/Common/OpenSim.Framework/LLSDHelpers.cs | |||
@@ -100,6 +100,31 @@ namespace OpenSim.Framework | |||
100 | } | 100 | } |
101 | 101 | ||
102 | [LLSDType("MAP")] | 102 | [LLSDType("MAP")] |
103 | public class LLSDMapLayerResponse | ||
104 | { | ||
105 | public LLSDMapRequest AgentData = new LLSDMapRequest(); | ||
106 | public LLSDArray LayerData = new LLSDArray(); | ||
107 | |||
108 | public LLSDMapLayerResponse() | ||
109 | { | ||
110 | |||
111 | } | ||
112 | } | ||
113 | |||
114 | [LLSDType("MAP")] | ||
115 | public class LLSDCapsDetails | ||
116 | { | ||
117 | public string MapLayer = ""; | ||
118 | public string NewFileAgentInventory = ""; | ||
119 | //public string EventQueueGet = ""; | ||
120 | |||
121 | public LLSDCapsDetails() | ||
122 | { | ||
123 | |||
124 | } | ||
125 | } | ||
126 | |||
127 | [LLSDType("MAP")] | ||
103 | public class LLSDMapLayer | 128 | public class LLSDMapLayer |
104 | { | 129 | { |
105 | public int Left = 0; | 130 | public int Left = 0; |
@@ -108,10 +133,9 @@ namespace OpenSim.Framework | |||
108 | public int Bottom = 0; | 133 | public int Bottom = 0; |
109 | public LLUUID ImageID = LLUUID.Zero; | 134 | public LLUUID ImageID = LLUUID.Zero; |
110 | 135 | ||
111 | public LLSDArray TestArray = new LLSDArray(); | ||
112 | public LLSDMapLayer() | 136 | public LLSDMapLayer() |
113 | { | 137 | { |
114 | 138 | ||
115 | } | 139 | } |
116 | } | 140 | } |
117 | 141 | ||
@@ -137,6 +161,7 @@ namespace OpenSim.Framework | |||
137 | } | 161 | } |
138 | } | 162 | } |
139 | 163 | ||
164 | |||
140 | [LLSDType("MAP")] | 165 | [LLSDType("MAP")] |
141 | public class LLSDTest | 166 | public class LLSDTest |
142 | { | 167 | { |
@@ -153,12 +178,11 @@ namespace OpenSim.Framework | |||
153 | [AttributeUsage(AttributeTargets.Class)] | 178 | [AttributeUsage(AttributeTargets.Class)] |
154 | public class LLSDType : Attribute | 179 | public class LLSDType : Attribute |
155 | { | 180 | { |
156 | private string myHandler; | 181 | private string myType; |
157 | |||
158 | 182 | ||
159 | public LLSDType(string type) | 183 | public LLSDType(string type) |
160 | { | 184 | { |
161 | myHandler = type; | 185 | myType = type; |
162 | 186 | ||
163 | } | 187 | } |
164 | 188 | ||
@@ -166,7 +190,7 @@ namespace OpenSim.Framework | |||
166 | { | 190 | { |
167 | get | 191 | get |
168 | { | 192 | { |
169 | return myHandler; | 193 | return myType; |
170 | } | 194 | } |
171 | } | 195 | } |
172 | } | 196 | } |