diff options
author | Teravus Ovares | 2009-01-26 20:05:13 +0000 |
---|---|---|
committer | Teravus Ovares | 2009-01-26 20:05:13 +0000 |
commit | fc75a2031ee557c0e4154aa066e20b773ac72dda (patch) | |
tree | 3c8d8131f3560d902db5c5894208f3e306a2298c /OpenSim/Region/Interfaces/IMoneyModule.cs | |
parent | in the spirit of cleanup, remove the old sql directory, as this stuff is (diff) | |
download | opensim-SC-fc75a2031ee557c0e4154aa066e20b773ac72dda.zip opensim-SC-fc75a2031ee557c0e4154aa066e20b773ac72dda.tar.gz opensim-SC-fc75a2031ee557c0e4154aa066e20b773ac72dda.tar.bz2 opensim-SC-fc75a2031ee557c0e4154aa066e20b773ac72dda.tar.xz |
* Providing a way for the rest of the simulator to get at the economy settings through the IMoneyModule interface.
Diffstat (limited to 'OpenSim/Region/Interfaces/IMoneyModule.cs')
-rw-r--r-- | OpenSim/Region/Interfaces/IMoneyModule.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/OpenSim/Region/Interfaces/IMoneyModule.cs b/OpenSim/Region/Interfaces/IMoneyModule.cs index 1fa4f13..5dfb64c 100644 --- a/OpenSim/Region/Interfaces/IMoneyModule.cs +++ b/OpenSim/Region/Interfaces/IMoneyModule.cs | |||
@@ -45,6 +45,27 @@ namespace OpenSim.Region.Interfaces | |||
45 | bool AmountCovered(IClientAPI client, int amount); | 45 | bool AmountCovered(IClientAPI client, int amount); |
46 | void ApplyCharge(UUID agentID, int amount, string text); | 46 | void ApplyCharge(UUID agentID, int amount, string text); |
47 | 47 | ||
48 | EconomyData GetEconomyData(); | ||
49 | |||
48 | event ObjectPaid OnObjectPaid; | 50 | event ObjectPaid OnObjectPaid; |
49 | } | 51 | } |
52 | |||
53 | public struct EconomyData | ||
54 | { | ||
55 | public int ObjectCapacity; | ||
56 | public int ObjectCount; | ||
57 | public int PriceEnergyUnit; | ||
58 | public int PriceGroupCreate; | ||
59 | public int PriceObjectClaim; | ||
60 | public float PriceObjectRent; | ||
61 | public float PriceObjectScaleFactor; | ||
62 | public int PriceParcelClaim; | ||
63 | public float PriceParcelClaimFactor; | ||
64 | public int PriceParcelRent; | ||
65 | public int PricePublicObjectDecay; | ||
66 | public int PricePublicObjectDelete; | ||
67 | public int PriceRentLight; | ||
68 | public int PriceUpload; | ||
69 | public int TeleportMinPrice; | ||
70 | } | ||
50 | } | 71 | } |