diff options
author | Sean Dague | 2008-09-12 21:00:29 +0000 |
---|---|---|
committer | Sean Dague | 2008-09-12 21:00:29 +0000 |
commit | 5557f0b772f7c68a7bd5fdc5a7916993ecba1e08 (patch) | |
tree | 8bae05c57633a3c8d4beb6f37021cded028fb0d4 /OpenSim/Framework/InventoryItemBase.cs | |
parent | * Patch http://opensimulator.org/mantis/view.php?id=2158 (diff) | |
download | opensim-SC-5557f0b772f7c68a7bd5fdc5a7916993ecba1e08.zip opensim-SC-5557f0b772f7c68a7bd5fdc5a7916993ecba1e08.tar.gz opensim-SC-5557f0b772f7c68a7bd5fdc5a7916993ecba1e08.tar.bz2 opensim-SC-5557f0b772f7c68a7bd5fdc5a7916993ecba1e08.tar.xz |
reformat spacing on some property declarations. Take away the virtual
attribute as that was a left over of an nhibernate approach that
isn't used in the current nhibernate code anyway.
Diffstat (limited to 'OpenSim/Framework/InventoryItemBase.cs')
-rw-r--r-- | OpenSim/Framework/InventoryItemBase.cs | 106 |
1 files changed, 33 insertions, 73 deletions
diff --git a/OpenSim/Framework/InventoryItemBase.cs b/OpenSim/Framework/InventoryItemBase.cs index 4441e73..d165d86 100644 --- a/OpenSim/Framework/InventoryItemBase.cs +++ b/OpenSim/Framework/InventoryItemBase.cs | |||
@@ -124,157 +124,117 @@ namespace OpenSim.Framework | |||
124 | /// </summary> | 124 | /// </summary> |
125 | private int _creationDate; | 125 | private int _creationDate; |
126 | 126 | ||
127 | public virtual UUID ID { | 127 | public UUID ID { |
128 | get { | 128 | get { return _id; } |
129 | return _id; | 129 | set { _id = value; } |
130 | } | ||
131 | set { | ||
132 | _id = value; | ||
133 | } | ||
134 | } | 130 | } |
135 | 131 | ||
136 | public virtual int InvType | 132 | public int InvType |
137 | { | 133 | { |
138 | get { return _invType; } | 134 | get { return _invType; } |
139 | set { _invType = value; } | 135 | set { _invType = value; } |
140 | } | 136 | } |
141 | 137 | ||
142 | public virtual UUID Folder | 138 | public UUID Folder |
143 | { | 139 | { |
144 | get { return _folder; } | 140 | get { return _folder; } |
145 | set { _folder = value; } | 141 | set { _folder = value; } |
146 | } | 142 | } |
147 | 143 | ||
148 | public virtual UUID Owner | 144 | public UUID Owner |
149 | { | 145 | { |
150 | get { return _owner; } | 146 | get { return _owner; } |
151 | set { _owner = value; } | 147 | set { _owner = value; } |
152 | } | 148 | } |
153 | 149 | ||
154 | public virtual UUID Creator | 150 | public UUID Creator |
155 | { | 151 | { |
156 | get { return _creator; } | 152 | get { return _creator; } |
157 | set { _creator = value; } | 153 | set { _creator = value; } |
158 | } | 154 | } |
159 | 155 | ||
160 | public virtual string Name | 156 | public string Name |
161 | { | 157 | { |
162 | get { return _name; } | 158 | get { return _name; } |
163 | set { _name = value; } | 159 | set { _name = value; } |
164 | } | 160 | } |
165 | 161 | ||
166 | public virtual string Description | 162 | public string Description |
167 | { | 163 | { |
168 | get { return _description; } | 164 | get { return _description; } |
169 | set { _description = value; } | 165 | set { _description = value; } |
170 | } | 166 | } |
171 | 167 | ||
172 | public virtual uint NextPermissions | 168 | public uint NextPermissions |
173 | { | 169 | { |
174 | get { return _nextPermissions; } | 170 | get { return _nextPermissions; } |
175 | set { _nextPermissions = value; } | 171 | set { _nextPermissions = value; } |
176 | } | 172 | } |
177 | 173 | ||
178 | public virtual uint CurrentPermissions | 174 | public uint CurrentPermissions |
179 | { | 175 | { |
180 | get { return _currentPermissions; } | 176 | get { return _currentPermissions; } |
181 | set { _currentPermissions = value; } | 177 | set { _currentPermissions = value; } |
182 | } | 178 | } |
183 | 179 | ||
184 | public virtual uint BasePermissions | 180 | public uint BasePermissions |
185 | { | 181 | { |
186 | get { return _basePermissions; } | 182 | get { return _basePermissions; } |
187 | set { _basePermissions = value; } | 183 | set { _basePermissions = value; } |
188 | } | 184 | } |
189 | 185 | ||
190 | public virtual uint EveryOnePermissions | 186 | public uint EveryOnePermissions |
191 | { | 187 | { |
192 | get { return _everyOnePermissions; } | 188 | get { return _everyOnePermissions; } |
193 | set { _everyOnePermissions = value; } | 189 | set { _everyOnePermissions = value; } |
194 | } | 190 | } |
195 | 191 | ||
196 | public virtual int AssetType | 192 | public int AssetType |
197 | { | 193 | { |
198 | get { return _assetType; } | 194 | get { return _assetType; } |
199 | set { _assetType = value; } | 195 | set { _assetType = value; } |
200 | } | 196 | } |
201 | 197 | ||
202 | public virtual UUID AssetID | 198 | public UUID AssetID |
203 | { | 199 | { |
204 | get { return _assetID; } | 200 | get { return _assetID; } |
205 | set { _assetID = value; } | 201 | set { _assetID = value; } |
206 | } | 202 | } |
207 | 203 | ||
208 | public virtual UUID GroupID | 204 | public UUID GroupID |
209 | { | 205 | { |
210 | get | 206 | get { return _groupID; } |
211 | { | 207 | set { _groupID = value; } |
212 | return _groupID; | ||
213 | } | ||
214 | set | ||
215 | { | ||
216 | _groupID = value; | ||
217 | } | ||
218 | } | 208 | } |
219 | 209 | ||
220 | public virtual bool GroupOwned | 210 | public bool GroupOwned |
221 | { | 211 | { |
222 | get | 212 | get { return _groupOwned; } |
223 | { | 213 | set { _groupOwned = value; } |
224 | return _groupOwned; | ||
225 | } | ||
226 | set | ||
227 | { | ||
228 | _groupOwned = value; | ||
229 | } | ||
230 | } | 214 | } |
231 | 215 | ||
232 | public virtual int SalePrice | 216 | public int SalePrice |
233 | { | 217 | { |
234 | get | 218 | get { return _salePrice; } |
235 | { | 219 | set { _salePrice = value; } |
236 | return _salePrice; | ||
237 | } | ||
238 | set | ||
239 | { | ||
240 | _salePrice = value; | ||
241 | } | ||
242 | } | 220 | } |
243 | 221 | ||
244 | public virtual byte SaleType | 222 | public byte SaleType |
245 | { | 223 | { |
246 | get | 224 | get { return _saleType; } |
247 | { | 225 | set { _saleType = value; } |
248 | return _saleType; | ||
249 | } | ||
250 | set | ||
251 | { | ||
252 | _saleType = value; | ||
253 | } | ||
254 | } | 226 | } |
255 | 227 | ||
256 | public virtual uint Flags | 228 | public uint Flags |
257 | { | 229 | { |
258 | get | 230 | get { return _flags; } |
259 | { | 231 | set { _flags = value; } |
260 | return _flags; | ||
261 | } | ||
262 | set | ||
263 | { | ||
264 | _flags = value; | ||
265 | } | ||
266 | } | 232 | } |
267 | 233 | ||
268 | public virtual int CreationDate | 234 | public int CreationDate |
269 | { | 235 | { |
270 | get | 236 | get { return _creationDate; } |
271 | { | 237 | set { _creationDate = value; } |
272 | return _creationDate; | ||
273 | } | ||
274 | set | ||
275 | { | ||
276 | _creationDate = value; | ||
277 | } | ||
278 | } | 238 | } |
279 | } | 239 | } |
280 | } | 240 | } |