diff options
author | Tom Grimshaw | 2010-07-03 06:11:46 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-07-03 06:11:46 -0700 |
commit | e4739523d3a9f19a0af385b64fb81fcd83a3a175 (patch) | |
tree | 95a602904a1c0234725d1e4386eadeecfe34b364 /OpenSim/Framework/IMoneyModule.cs | |
parent | Fix Undo! Made a lot of changes to Undo state saving; it now considers that ... (diff) | |
parent | Now, fix the slash issue the right way. Our URLs now work like SL's (diff) | |
download | opensim-SC_OLD-e4739523d3a9f19a0af385b64fb81fcd83a3a175.zip opensim-SC_OLD-e4739523d3a9f19a0af385b64fb81fcd83a3a175.tar.gz opensim-SC_OLD-e4739523d3a9f19a0af385b64fb81fcd83a3a175.tar.bz2 opensim-SC_OLD-e4739523d3a9f19a0af385b64fb81fcd83a3a175.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Framework/IMoneyModule.cs')
-rw-r--r-- | OpenSim/Framework/IMoneyModule.cs | 30 |
1 files changed, 5 insertions, 25 deletions
diff --git a/OpenSim/Framework/IMoneyModule.cs b/OpenSim/Framework/IMoneyModule.cs index 3480960..3d4873d 100644 --- a/OpenSim/Framework/IMoneyModule.cs +++ b/OpenSim/Framework/IMoneyModule.cs | |||
@@ -35,35 +35,15 @@ namespace OpenSim.Framework | |||
35 | bool ObjectGiveMoney(UUID objectID, UUID fromID, UUID toID, | 35 | bool ObjectGiveMoney(UUID objectID, UUID fromID, UUID toID, |
36 | int amount); | 36 | int amount); |
37 | 37 | ||
38 | int GetBalance(IClientAPI client); | 38 | int GetBalance(UUID agentID); |
39 | void ApplyUploadCharge(UUID agentID); | 39 | bool UploadCovered(IClientAPI client, int amount); |
40 | bool UploadCovered(IClientAPI client); | ||
41 | void ApplyGroupCreationCharge(UUID agentID); | ||
42 | bool GroupCreationCovered(IClientAPI client); | ||
43 | bool AmountCovered(IClientAPI client, int amount); | 40 | bool AmountCovered(IClientAPI client, int amount); |
44 | void ApplyCharge(UUID agentID, int amount, string text); | 41 | void ApplyCharge(UUID agentID, int amount, string text); |
42 | void ApplyUploadCharge(UUID agentID, int amount, string text); | ||
45 | 43 | ||
46 | EconomyData GetEconomyData(); | 44 | int UploadCharge { get; } |
45 | int GroupCreationCharge { get; } | ||
47 | 46 | ||
48 | event ObjectPaid OnObjectPaid; | 47 | event ObjectPaid OnObjectPaid; |
49 | } | 48 | } |
50 | |||
51 | public struct EconomyData | ||
52 | { | ||
53 | public int ObjectCapacity; | ||
54 | public int ObjectCount; | ||
55 | public int PriceEnergyUnit; | ||
56 | public int PriceGroupCreate; | ||
57 | public int PriceObjectClaim; | ||
58 | public float PriceObjectRent; | ||
59 | public float PriceObjectScaleFactor; | ||
60 | public int PriceParcelClaim; | ||
61 | public float PriceParcelClaimFactor; | ||
62 | public int PriceParcelRent; | ||
63 | public int PricePublicObjectDecay; | ||
64 | public int PricePublicObjectDelete; | ||
65 | public int PriceRentLight; | ||
66 | public int PriceUpload; | ||
67 | public int TeleportMinPrice; | ||
68 | } | ||
69 | } | 49 | } |