aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs
diff options
context:
space:
mode:
authorMelanie2013-06-13 02:52:11 +0200
committerMelanie2013-06-13 02:52:11 +0200
commit62c277ff9f7a335e0091bba0c891e5b739c656d6 (patch)
tree2cf2e71e5fa9ef47db82bedca6fadd14ed00c5f0 /OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs
parent* This fixes having to select and deselect prim to get keyframemotion to star... (diff)
downloadopensim-SC-62c277ff9f7a335e0091bba0c891e5b739c656d6.zip
opensim-SC-62c277ff9f7a335e0091bba0c891e5b739c656d6.tar.gz
opensim-SC-62c277ff9f7a335e0091bba0c891e5b739c656d6.tar.bz2
opensim-SC-62c277ff9f7a335e0091bba0c891e5b739c656d6.tar.xz
Add a result param to te money module interface
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs b/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs
index 0c9fdb9..5d10e93 100644
--- a/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs
+++ b/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs
@@ -203,8 +203,9 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule
203 { 203 {
204 } 204 }
205 205
206 public bool ObjectGiveMoney(UUID objectID, UUID fromID, UUID toID, int amount, UUID txn) 206 public bool ObjectGiveMoney(UUID objectID, UUID fromID, UUID toID, int amount, UUID txn, out string result)
207 { 207 {
208 result = String.Empty;
208 string description = String.Format("Object {0} pays {1}", resolveObjectName(objectID), resolveAgentName(toID)); 209 string description = String.Format("Object {0} pays {1}", resolveObjectName(objectID), resolveAgentName(toID));
209 210
210 bool give_result = doMoneyTransfer(fromID, toID, amount, 2, description); 211 bool give_result = doMoneyTransfer(fromID, toID, amount, 2, description);