diff options
author | Diva Canto | 2013-04-25 17:02:32 -0700 |
---|---|---|
committer | Diva Canto | 2013-04-25 17:02:32 -0700 |
commit | 2262b130482d54e6d61beacf9a403e2154f10019 (patch) | |
tree | 6f719236db779bcc5492bb6ef9ccc1d4d5c2089c /OpenSim/Region/OptionalModules/World | |
parent | Groups: make some methods protected. (diff) | |
parent | Change EconomyDataRequest signature to use an IClientAPI rather than UUID. Th... (diff) | |
download | opensim-SC_OLD-2262b130482d54e6d61beacf9a403e2154f10019.zip opensim-SC_OLD-2262b130482d54e6d61beacf9a403e2154f10019.tar.gz opensim-SC_OLD-2262b130482d54e6d61beacf9a403e2154f10019.tar.bz2 opensim-SC_OLD-2262b130482d54e6d61beacf9a403e2154f10019.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/OptionalModules/World')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs b/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs index 7bbf500..37af8c7 100644 --- a/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs +++ b/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs | |||
@@ -688,19 +688,14 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule | |||
688 | /// Event called Economy Data Request handler. | 688 | /// Event called Economy Data Request handler. |
689 | /// </summary> | 689 | /// </summary> |
690 | /// <param name="agentId"></param> | 690 | /// <param name="agentId"></param> |
691 | public void EconomyDataRequestHandler(UUID agentId) | 691 | public void EconomyDataRequestHandler(IClientAPI user) |
692 | { | 692 | { |
693 | IClientAPI user = LocateClientObject(agentId); | 693 | Scene s = LocateSceneClientIn(user.AgentId); |
694 | 694 | ||
695 | if (user != null) | 695 | user.SendEconomyData(EnergyEfficiency, s.RegionInfo.ObjectCapacity, ObjectCount, PriceEnergyUnit, PriceGroupCreate, |
696 | { | 696 | PriceObjectClaim, PriceObjectRent, PriceObjectScaleFactor, PriceParcelClaim, PriceParcelClaimFactor, |
697 | Scene s = LocateSceneClientIn(user.AgentId); | 697 | PriceParcelRent, PricePublicObjectDecay, PricePublicObjectDelete, PriceRentLight, PriceUpload, |
698 | 698 | TeleportMinPrice, TeleportPriceExponent); | |
699 | user.SendEconomyData(EnergyEfficiency, s.RegionInfo.ObjectCapacity, ObjectCount, PriceEnergyUnit, PriceGroupCreate, | ||
700 | PriceObjectClaim, PriceObjectRent, PriceObjectScaleFactor, PriceParcelClaim, PriceParcelClaimFactor, | ||
701 | PriceParcelRent, PricePublicObjectDecay, PricePublicObjectDelete, PriceRentLight, PriceUpload, | ||
702 | TeleportMinPrice, TeleportPriceExponent); | ||
703 | } | ||
704 | } | 699 | } |
705 | 700 | ||
706 | private void ValidateLandBuy(Object osender, EventManager.LandBuyArgs e) | 701 | private void ValidateLandBuy(Object osender, EventManager.LandBuyArgs e) |