diff options
author | UbitUmarov | 2017-07-26 19:00:49 +0100 |
---|---|---|
committer | UbitUmarov | 2017-07-26 19:01:11 +0100 |
commit | 0bbe7bab7bb60c39b0defeff173287fc66430c26 (patch) | |
tree | a62addfa06dad2071c9a097b87620f30528fd646 /OpenSim/Framework | |
parent | add comments to make that more clear (diff) | |
download | opensim-SC-0bbe7bab7bb60c39b0defeff173287fc66430c26.zip opensim-SC-0bbe7bab7bb60c39b0defeff173287fc66430c26.tar.gz opensim-SC-0bbe7bab7bb60c39b0defeff173287fc66430c26.tar.bz2 opensim-SC-0bbe7bab7bb60c39b0defeff173287fc66430c26.tar.xz |
add new funtion bool MoveMoney(UUID fromUser, UUID toUser, int amount, MoneyTransactionType type, string text). this should be called async allowing time for money module to process it. If returns true, the transation did sucess, so if its use was to pay something, the payed item/service must be provided without fail, otherwise another method is needed so a refund is possible
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/IMoneyModule.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Framework/IMoneyModule.cs b/OpenSim/Framework/IMoneyModule.cs index be45438..c72c742 100644 --- a/OpenSim/Framework/IMoneyModule.cs +++ b/OpenSim/Framework/IMoneyModule.cs | |||
@@ -41,6 +41,7 @@ namespace OpenSim.Framework | |||
41 | void ApplyCharge(UUID agentID, int amount, MoneyTransactionType type, string extraData = ""); | 41 | void ApplyCharge(UUID agentID, int amount, MoneyTransactionType type, string extraData = ""); |
42 | void ApplyUploadCharge(UUID agentID, int amount, string text); | 42 | void ApplyUploadCharge(UUID agentID, int amount, string text); |
43 | void MoveMoney(UUID fromUser, UUID toUser, int amount, string text); | 43 | void MoveMoney(UUID fromUser, UUID toUser, int amount, string text); |
44 | bool MoveMoney(UUID fromUser, UUID toUser, int amount, MoneyTransactionType type, string text); | ||
44 | 45 | ||
45 | int UploadCharge { get; } | 46 | int UploadCharge { get; } |
46 | int GroupCreationCharge { get; } | 47 | int GroupCreationCharge { get; } |