Remove GetEconomyData and the economy data structure (unused)
parent
a4b7863ea1
commit
fda9d7b75e
|
@ -43,27 +43,6 @@ namespace OpenSim.Framework
|
||||||
bool AmountCovered(IClientAPI client, int amount);
|
bool AmountCovered(IClientAPI client, int amount);
|
||||||
void ApplyCharge(UUID agentID, int amount, string text);
|
void ApplyCharge(UUID agentID, int amount, string text);
|
||||||
|
|
||||||
EconomyData GetEconomyData();
|
|
||||||
|
|
||||||
event ObjectPaid OnObjectPaid;
|
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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -268,27 +268,6 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public EconomyData GetEconomyData()
|
|
||||||
{
|
|
||||||
EconomyData edata = new EconomyData();
|
|
||||||
edata.ObjectCapacity = ObjectCapacity;
|
|
||||||
edata.ObjectCount = ObjectCount;
|
|
||||||
edata.PriceEnergyUnit = PriceEnergyUnit;
|
|
||||||
edata.PriceGroupCreate = PriceGroupCreate;
|
|
||||||
edata.PriceObjectClaim = PriceObjectClaim;
|
|
||||||
edata.PriceObjectRent = PriceObjectRent;
|
|
||||||
edata.PriceObjectScaleFactor = PriceObjectScaleFactor;
|
|
||||||
edata.PriceParcelClaim = PriceParcelClaim;
|
|
||||||
edata.PriceParcelClaimFactor = PriceParcelClaimFactor;
|
|
||||||
edata.PriceParcelRent = PriceParcelRent;
|
|
||||||
edata.PricePublicObjectDecay = PricePublicObjectDecay;
|
|
||||||
edata.PricePublicObjectDelete = PricePublicObjectDelete;
|
|
||||||
edata.PriceRentLight = PriceRentLight;
|
|
||||||
edata.PriceUpload = PriceUpload;
|
|
||||||
edata.TeleportMinPrice = TeleportMinPrice;
|
|
||||||
return edata;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void GetClientFunds(IClientAPI client)
|
private void GetClientFunds(IClientAPI client)
|
||||||
{
|
{
|
||||||
CheckExistAndRefreshFunds(client.AgentId);
|
CheckExistAndRefreshFunds(client.AgentId);
|
||||||
|
|
Loading…
Reference in New Issue