Add a few comments
parent
0a01826843
commit
7ced8d136a
|
@ -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)
|
public void ApplyUploadCharge(UUID agentID)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -1512,13 +1515,9 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool AmountCovered(IClientAPI client, int amount)
|
// Please do not refactor these to be just one method
|
||||||
{
|
// Existing implementations need the distinction
|
||||||
if (GetBalance(client) < amount)
|
//
|
||||||
return false;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool UploadCovered(IClientAPI client)
|
public bool UploadCovered(IClientAPI client)
|
||||||
{
|
{
|
||||||
return AmountCovered(client, PriceUpload);
|
return AmountCovered(client, PriceUpload);
|
||||||
|
@ -1529,6 +1528,13 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney
|
||||||
return AmountCovered(client, PriceGroupCreate);
|
return AmountCovered(client, PriceGroupCreate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public bool AmountCovered(IClientAPI client, int amount)
|
||||||
|
{
|
||||||
|
if (GetBalance(client) < amount)
|
||||||
|
return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public void ObjectBuy(IClientAPI remoteClient, UUID agentID,
|
public void ObjectBuy(IClientAPI remoteClient, UUID agentID,
|
||||||
|
|
Loading…
Reference in New Issue