aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs
index a1940ae..07e62e2 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs
@@ -279,6 +279,27 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney
279 scene.SetObjectCapacity(ObjectCapacity); 279 scene.SetObjectCapacity(ObjectCapacity);
280 } 280 }
281 281
282 public EconomyData GetEconomyData()
283 {
284 EconomyData edata = new EconomyData();
285 edata.ObjectCapacity = ObjectCapacity;
286 edata.ObjectCount = ObjectCount;
287 edata.PriceEnergyUnit = PriceEnergyUnit;
288 edata.PriceGroupCreate = PriceGroupCreate;
289 edata.PriceObjectClaim = PriceObjectClaim;
290 edata.PriceObjectRent = PriceObjectRent;
291 edata.PriceObjectScaleFactor = PriceObjectScaleFactor;
292 edata.PriceParcelClaim = PriceParcelClaim;
293 edata.PriceParcelClaimFactor = PriceParcelClaimFactor;
294 edata.PriceParcelRent = PriceParcelRent;
295 edata.PricePublicObjectDecay = PricePublicObjectDecay;
296 edata.PricePublicObjectDelete = PricePublicObjectDelete;
297 edata.PriceRentLight = PriceRentLight;
298 edata.PriceUpload = PriceUpload;
299 edata.TeleportMinPrice = TeleportMinPrice;
300 return edata;
301 }
302
282 private void GetClientFunds(IClientAPI client) 303 private void GetClientFunds(IClientAPI client)
283 { 304 {
284 // Here we check if we're in grid mode 305 // Here we check if we're in grid mode
@@ -1580,4 +1601,6 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney
1580 Gift = 2, 1601 Gift = 2,
1581 Purchase = 3 1602 Purchase = 3
1582 } 1603 }
1604
1605
1583} 1606}