aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/InventoryItemBase.cs
diff options
context:
space:
mode:
authorSean Dague2008-06-25 19:18:51 +0000
committerSean Dague2008-06-25 19:18:51 +0000
commit5158aad662f3b6af788c729b3e68f76c92b3279b (patch)
tree2264484b03db489cf534f0a7be1fca0a664202c3 /OpenSim/Framework/InventoryItemBase.cs
parentadd migrations to mysql and sqlite for flags on embedded inventory (diff)
downloadopensim-SC_OLD-5158aad662f3b6af788c729b3e68f76c92b3279b.zip
opensim-SC_OLD-5158aad662f3b6af788c729b3e68f76c92b3279b.tar.gz
opensim-SC_OLD-5158aad662f3b6af788c729b3e68f76c92b3279b.tar.bz2
opensim-SC_OLD-5158aad662f3b6af788c729b3e68f76c92b3279b.tar.xz
make lots of properties virtual, which lets nhibernate do
some proxy object optimizations.
Diffstat (limited to 'OpenSim/Framework/InventoryItemBase.cs')
-rw-r--r--OpenSim/Framework/InventoryItemBase.cs40
1 files changed, 20 insertions, 20 deletions
diff --git a/OpenSim/Framework/InventoryItemBase.cs b/OpenSim/Framework/InventoryItemBase.cs
index 8d873db..85b08cb 100644
--- a/OpenSim/Framework/InventoryItemBase.cs
+++ b/OpenSim/Framework/InventoryItemBase.cs
@@ -122,9 +122,9 @@ namespace OpenSim.Framework
122 /// <summary> 122 /// <summary>
123 /// 123 ///
124 /// </summary> 124 /// </summary>
125 public int _creationDate; 125 private int _creationDate;
126 126
127 public LLUUID ID { 127 public virtual LLUUID ID {
128 get { 128 get {
129 return _id; 129 return _id;
130 } 130 }
@@ -133,79 +133,79 @@ namespace OpenSim.Framework
133 } 133 }
134 } 134 }
135 135
136 public int InvType 136 public virtual int InvType
137 { 137 {
138 get { return _invType; } 138 get { return _invType; }
139 set { _invType = value; } 139 set { _invType = value; }
140 } 140 }
141 141
142 public LLUUID Folder 142 public virtual LLUUID Folder
143 { 143 {
144 get { return _folder; } 144 get { return _folder; }
145 set { _folder = value; } 145 set { _folder = value; }
146 } 146 }
147 147
148 public LLUUID Owner 148 public virtual LLUUID Owner
149 { 149 {
150 get { return _owner; } 150 get { return _owner; }
151 set { _owner = value; } 151 set { _owner = value; }
152 } 152 }
153 153
154 public LLUUID Creator 154 public virtual LLUUID Creator
155 { 155 {
156 get { return _creator; } 156 get { return _creator; }
157 set { _creator = value; } 157 set { _creator = value; }
158 } 158 }
159 159
160 public string Name 160 public virtual string Name
161 { 161 {
162 get { return _name; } 162 get { return _name; }
163 set { _name = value; } 163 set { _name = value; }
164 } 164 }
165 165
166 public string Description 166 public virtual string Description
167 { 167 {
168 get { return _description; } 168 get { return _description; }
169 set { _description = value; } 169 set { _description = value; }
170 } 170 }
171 171
172 public uint NextPermissions 172 public virtual uint NextPermissions
173 { 173 {
174 get { return _nextPermissions; } 174 get { return _nextPermissions; }
175 set { _nextPermissions = value; } 175 set { _nextPermissions = value; }
176 } 176 }
177 177
178 public uint CurrentPermissions 178 public virtual uint CurrentPermissions
179 { 179 {
180 get { return _currentPermissions; } 180 get { return _currentPermissions; }
181 set { _currentPermissions = value; } 181 set { _currentPermissions = value; }
182 } 182 }
183 183
184 public uint BasePermissions 184 public virtual uint BasePermissions
185 { 185 {
186 get { return _basePermissions; } 186 get { return _basePermissions; }
187 set { _basePermissions = value; } 187 set { _basePermissions = value; }
188 } 188 }
189 189
190 public uint EveryOnePermissions 190 public virtual uint EveryOnePermissions
191 { 191 {
192 get { return _everyOnePermissions; } 192 get { return _everyOnePermissions; }
193 set { _everyOnePermissions = value; } 193 set { _everyOnePermissions = value; }
194 } 194 }
195 195
196 public int AssetType 196 public virtual int AssetType
197 { 197 {
198 get { return _assetType; } 198 get { return _assetType; }
199 set { _assetType = value; } 199 set { _assetType = value; }
200 } 200 }
201 201
202 public LLUUID AssetID 202 public virtual LLUUID AssetID
203 { 203 {
204 get { return _assetID; } 204 get { return _assetID; }
205 set { _assetID = value; } 205 set { _assetID = value; }
206 } 206 }
207 207
208 public LLUUID GroupID 208 public virtual LLUUID GroupID
209 { 209 {
210 get 210 get
211 { 211 {
@@ -217,7 +217,7 @@ namespace OpenSim.Framework
217 } 217 }
218 } 218 }
219 219
220 public bool GroupOwned 220 public virtual bool GroupOwned
221 { 221 {
222 get 222 get
223 { 223 {
@@ -229,7 +229,7 @@ namespace OpenSim.Framework
229 } 229 }
230 } 230 }
231 231
232 public int SalePrice 232 public virtual int SalePrice
233 { 233 {
234 get 234 get
235 { 235 {
@@ -241,7 +241,7 @@ namespace OpenSim.Framework
241 } 241 }
242 } 242 }
243 243
244 public byte SaleType 244 public virtual byte SaleType
245 { 245 {
246 get 246 get
247 { 247 {
@@ -253,7 +253,7 @@ namespace OpenSim.Framework
253 } 253 }
254 } 254 }
255 255
256 public uint Flags 256 public virtual uint Flags
257 { 257 {
258 get 258 get
259 { 259 {
@@ -265,7 +265,7 @@ namespace OpenSim.Framework
265 } 265 }
266 } 266 }
267 267
268 public int CreationDate 268 public virtual int CreationDate
269 { 269 {
270 get 270 get
271 { 271 {