aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/Currency
diff options
context:
space:
mode:
authorMelanie Thielker2008-10-24 23:04:55 +0000
committerMelanie Thielker2008-10-24 23:04:55 +0000
commit64f9f03e9a3cb345ef85e1990bebc3a7cca41c9e (patch)
treea8398aa3c9234ff4d178ba2031e8180c605b1387 /OpenSim/Region/Environment/Modules/Avatar/Currency
parent* minor: eliminate some mono compiler warnings (diff)
downloadopensim-SC-64f9f03e9a3cb345ef85e1990bebc3a7cca41c9e.zip
opensim-SC-64f9f03e9a3cb345ef85e1990bebc3a7cca41c9e.tar.gz
opensim-SC-64f9f03e9a3cb345ef85e1990bebc3a7cca41c9e.tar.bz2
opensim-SC-64f9f03e9a3cb345ef85e1990bebc3a7cca41c9e.tar.xz
Plumb some more
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/Currency')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs12
1 files changed, 12 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 4de6fa2..fc1decf 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs
@@ -187,6 +187,10 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney
187 { 187 {
188 } 188 }
189 189
190 public void ApplyGroupCreationCharge(UUID agentID)
191 {
192 }
193
190 public bool ObjectGiveMoney(UUID objectID, UUID fromID, UUID toID, int amount) 194 public bool ObjectGiveMoney(UUID objectID, UUID fromID, UUID toID, int amount)
191 { 195 {
192 string description = String.Format("Object {0} pays {1}", resolveObjectName(objectID), resolveAgentName(toID)); 196 string description = String.Format("Object {0} pays {1}", resolveObjectName(objectID), resolveAgentName(toID));
@@ -1512,6 +1516,14 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney
1512 return true; 1516 return true;
1513 } 1517 }
1514 1518
1519 public bool GroupCreationCovered(IClientAPI client)
1520 {
1521 if (GetBalance(client) < PriceGroupCreate)
1522 return false;
1523
1524 return true;
1525 }
1526
1515 #endregion 1527 #endregion
1516 1528
1517 public void ObjectBuy(IClientAPI remoteClient, UUID agentID, 1529 public void ObjectBuy(IClientAPI remoteClient, UUID agentID,