diff options
author | Teravus Ovares | 2009-01-26 20:05:13 +0000 |
---|---|---|
committer | Teravus Ovares | 2009-01-26 20:05:13 +0000 |
commit | fc75a2031ee557c0e4154aa066e20b773ac72dda (patch) | |
tree | 3c8d8131f3560d902db5c5894208f3e306a2298c /OpenSim/Region/Environment | |
parent | in the spirit of cleanup, remove the old sql directory, as this stuff is (diff) | |
download | opensim-SC-fc75a2031ee557c0e4154aa066e20b773ac72dda.zip opensim-SC-fc75a2031ee557c0e4154aa066e20b773ac72dda.tar.gz opensim-SC-fc75a2031ee557c0e4154aa066e20b773ac72dda.tar.bz2 opensim-SC-fc75a2031ee557c0e4154aa066e20b773ac72dda.tar.xz |
* Providing a way for the rest of the simulator to get at the economy settings through the IMoneyModule interface.
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs | 23 |
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 | } |