diff options
author | Teravus Ovares | 2008-04-10 09:36:55 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-04-10 09:36:55 +0000 |
commit | 06967e230f50fbeee24176f3df8cda8a067544e4 (patch) | |
tree | d824f1a8834700d12a77159159094a6524a856bb /OpenSim/Framework | |
parent | * Adds twist support for Cubes, Cylinders, and Prisms in the Meshmerizer (diff) | |
download | opensim-SC-06967e230f50fbeee24176f3df8cda8a067544e4.zip opensim-SC-06967e230f50fbeee24176f3df8cda8a067544e4.tar.gz opensim-SC-06967e230f50fbeee24176f3df8cda8a067544e4.tar.bz2 opensim-SC-06967e230f50fbeee24176f3df8cda8a067544e4.tar.xz |
* Updates BetaGridLikeMoneyModule
* Several people have asked for a way to limit uploads, so I've decided to show people how to do this in the BetaGridLikeMoneyModule.
* Configure it in OpenSim.ini using the [Economy] header. See the bottom of the OpenSim.ini.example for more information.
* This also fleshes out the Economy API a bit more.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 17d9510..e081e05 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -430,6 +430,8 @@ namespace OpenSim.Framework | |||
430 | 430 | ||
431 | public delegate void ObjectPermissions(IClientAPI controller, LLUUID agentID, LLUUID sessionID, byte field, uint localId, uint mask, byte set); | 431 | public delegate void ObjectPermissions(IClientAPI controller, LLUUID agentID, LLUUID sessionID, byte field, uint localId, uint mask, byte set); |
432 | 432 | ||
433 | public delegate void EconomyDataRequest(LLUUID agentID); | ||
434 | |||
433 | public interface IClientAPI | 435 | public interface IClientAPI |
434 | { | 436 | { |
435 | event ImprovedInstantMessage OnInstantMessage; | 437 | event ImprovedInstantMessage OnInstantMessage; |
@@ -538,10 +540,12 @@ namespace OpenSim.Framework | |||
538 | 540 | ||
539 | // Financial packets | 541 | // Financial packets |
540 | event MoneyTransferRequest OnMoneyTransferRequest; | 542 | event MoneyTransferRequest OnMoneyTransferRequest; |
543 | event EconomyDataRequest OnEconomyDataRequest; | ||
541 | 544 | ||
542 | event MoneyBalanceRequest OnMoneyBalanceRequest; | 545 | event MoneyBalanceRequest OnMoneyBalanceRequest; |
543 | event UpdateAvatarProperties OnUpdateAvatarProperties; | 546 | event UpdateAvatarProperties OnUpdateAvatarProperties; |
544 | 547 | ||
548 | |||
545 | 549 | ||
546 | LLVector3 StartPos { get; set; } | 550 | LLVector3 StartPos { get; set; } |
547 | 551 | ||
@@ -647,6 +651,12 @@ namespace OpenSim.Framework | |||
647 | void SendBulkUpdateInventory(InventoryItemBase item); | 651 | void SendBulkUpdateInventory(InventoryItemBase item); |
648 | 652 | ||
649 | void SendXferPacket(ulong xferID, uint packet, byte[] data); | 653 | void SendXferPacket(ulong xferID, uint packet, byte[] data); |
654 | |||
655 | void SendEconomyData(float EnergyEfficiency, int ObjectCapacity, int ObjectCount, int PriceEnergyUnit, | ||
656 | int PriceGroupCreate, int PriceObjectClaim, float PriceObjectRent, float PriceObjectScaleFactor, | ||
657 | int PriceParcelClaim, float PriceParcelClaimFactor, int PriceParcelRent, int PricePublicObjectDecay, | ||
658 | int PricePublicObjectDelete, int PriceRentLight, int PriceUpload, int TeleportMinPrice, float TeleportPriceExponent); | ||
659 | |||
650 | void SendAvatarPickerReply(AvatarPickerReplyPacket Pack); | 660 | void SendAvatarPickerReply(AvatarPickerReplyPacket Pack); |
651 | 661 | ||
652 | void SendAgentDataUpdate(LLUUID agentid, LLUUID activegroupid, string firstname, string lastname, ulong grouppowers, string groupname, string grouptitle); | 662 | void SendAgentDataUpdate(LLUUID agentid, LLUUID activegroupid, string firstname, string lastname, ulong grouppowers, string groupname, string grouptitle); |