diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs | 12 |
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, |