From fc75a2031ee557c0e4154aa066e20b773ac72dda Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Mon, 26 Jan 2009 20:05:13 +0000 Subject: * Providing a way for the rest of the simulator to get at the economy settings through the IMoneyModule interface. --- OpenSim/Region/Interfaces/IMoneyModule.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'OpenSim/Region/Interfaces') 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 bool AmountCovered(IClientAPI client, int amount); void ApplyCharge(UUID agentID, int amount, string text); + EconomyData GetEconomyData(); + event ObjectPaid OnObjectPaid; } + + public struct EconomyData + { + public int ObjectCapacity; + public int ObjectCount; + public int PriceEnergyUnit; + public int PriceGroupCreate; + public int PriceObjectClaim; + public float PriceObjectRent; + public float PriceObjectScaleFactor; + public int PriceParcelClaim; + public float PriceParcelClaimFactor; + public int PriceParcelRent; + public int PricePublicObjectDecay; + public int PricePublicObjectDelete; + public int PriceRentLight; + public int PriceUpload; + public int TeleportMinPrice; + } } -- cgit v1.1