Add a few comments

0.6.1-post-fixes
Melanie Thielker 2008-11-17 19:42:21 +00:00
parent 0a01826843
commit 7ced8d136a
1 changed files with 13 additions and 7 deletions

View File

@ -183,6 +183,9 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney
}
}
// Please do not refactor these to be just one method
// Existing implementations need the distinction
//
public void ApplyUploadCharge(UUID agentID)
{
}
@ -1512,13 +1515,9 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney
}
}
public bool AmountCovered(IClientAPI client, int amount)
{
if (GetBalance(client) < amount)
return false;
return true;
}
// Please do not refactor these to be just one method
// Existing implementations need the distinction
//
public bool UploadCovered(IClientAPI client)
{
return AmountCovered(client, PriceUpload);
@ -1529,6 +1528,13 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney
return AmountCovered(client, PriceGroupCreate);
}
public bool AmountCovered(IClientAPI client, int amount)
{
if (GetBalance(client) < amount)
return false;
return true;
}
#endregion
public void ObjectBuy(IClientAPI remoteClient, UUID agentID,