diff options
author | Melanie Thielker | 2010-07-02 06:20:36 +0200 |
---|---|---|
committer | Melanie | 2010-07-02 06:13:58 +0100 |
commit | e15f6905a53d686e3de9c2e16e842f3b735c3685 (patch) | |
tree | 414400c1ec6dc391afe69ff3b2344de6e7cd12ff /OpenSim/Region/OptionalModules/World | |
parent | Remove GetEconomyData and the economy data structure (unused) (diff) | |
download | opensim-SC_OLD-e15f6905a53d686e3de9c2e16e842f3b735c3685.zip opensim-SC_OLD-e15f6905a53d686e3de9c2e16e842f3b735c3685.tar.gz opensim-SC_OLD-e15f6905a53d686e3de9c2e16e842f3b735c3685.tar.bz2 opensim-SC_OLD-e15f6905a53d686e3de9c2e16e842f3b735c3685.tar.xz |
Clean up IMoneyModule and adjust the other modules to the changes
Diffstat (limited to 'OpenSim/Region/OptionalModules/World')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs b/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs index e070077..6f5ef9e 100644 --- a/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs +++ b/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs | |||
@@ -108,6 +108,16 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule | |||
108 | 108 | ||
109 | public event ObjectPaid OnObjectPaid; | 109 | public event ObjectPaid OnObjectPaid; |
110 | 110 | ||
111 | public int UploadCharge | ||
112 | { | ||
113 | get { return 0; } | ||
114 | } | ||
115 | |||
116 | public int GroupCreationCharge | ||
117 | { | ||
118 | get { return 0; } | ||
119 | } | ||
120 | |||
111 | /// <summary> | 121 | /// <summary> |
112 | /// Startup | 122 | /// Startup |
113 | /// </summary> | 123 | /// </summary> |
@@ -188,15 +198,10 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule | |||
188 | // Please do not refactor these to be just one method | 198 | // Please do not refactor these to be just one method |
189 | // Existing implementations need the distinction | 199 | // Existing implementations need the distinction |
190 | // | 200 | // |
191 | public void ApplyUploadCharge(UUID agentID) | 201 | public void ApplyCharge(UUID agentID, int amount, string text) |
192 | { | ||
193 | } | ||
194 | |||
195 | public void ApplyGroupCreationCharge(UUID agentID) | ||
196 | { | 202 | { |
197 | } | 203 | } |
198 | 204 | public void ApplyUploadCharge(UUID agentID, int amount, string text) | |
199 | public void ApplyCharge(UUID agentID, int amount, string text) | ||
200 | { | 205 | { |
201 | } | 206 | } |
202 | 207 | ||
@@ -769,7 +774,7 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule | |||
769 | //m_log.Info("[FRIEND]: " + avatar.Name + " status:" + (!avatar.IsChildAgent).ToString()); | 774 | //m_log.Info("[FRIEND]: " + avatar.Name + " status:" + (!avatar.IsChildAgent).ToString()); |
770 | } | 775 | } |
771 | 776 | ||
772 | public int GetBalance(IClientAPI client) | 777 | public int GetBalance(UUID agentID) |
773 | { | 778 | { |
774 | return 0; | 779 | return 0; |
775 | } | 780 | } |
@@ -777,16 +782,10 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule | |||
777 | // Please do not refactor these to be just one method | 782 | // Please do not refactor these to be just one method |
778 | // Existing implementations need the distinction | 783 | // Existing implementations need the distinction |
779 | // | 784 | // |
780 | public bool UploadCovered(IClientAPI client) | 785 | public bool UploadCovered(IClientAPI client, int amount) |
781 | { | ||
782 | return AmountCovered(client, PriceUpload); | ||
783 | } | ||
784 | |||
785 | public bool GroupCreationCovered(IClientAPI client) | ||
786 | { | 786 | { |
787 | return AmountCovered(client, PriceGroupCreate); | 787 | return true; |
788 | } | 788 | } |
789 | |||
790 | public bool AmountCovered(IClientAPI client, int amount) | 789 | public bool AmountCovered(IClientAPI client, int amount) |
791 | { | 790 | { |
792 | return true; | 791 | return true; |