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/Region/Examples/SimpleModule | |
parent | * Adds twist support for Cubes, Cylinders, and Prisms in the Meshmerizer (diff) | |
download | opensim-SC_OLD-06967e230f50fbeee24176f3df8cda8a067544e4.zip opensim-SC_OLD-06967e230f50fbeee24176f3df8cda8a067544e4.tar.gz opensim-SC_OLD-06967e230f50fbeee24176f3df8cda8a067544e4.tar.bz2 opensim-SC_OLD-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/Region/Examples/SimpleModule')
-rw-r--r-- | OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index 9901a50..9e9b52b 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | |||
@@ -155,6 +155,8 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
155 | public event FriendActionDelegate OnDenyFriendRequest; | 155 | public event FriendActionDelegate OnDenyFriendRequest; |
156 | public event FriendshipTermination OnTerminateFriendship; | 156 | public event FriendshipTermination OnTerminateFriendship; |
157 | public event PacketStats OnPacketStats; | 157 | public event PacketStats OnPacketStats; |
158 | |||
159 | public event EconomyDataRequest OnEconomyDataRequest; | ||
158 | public event MoneyBalanceRequest OnMoneyBalanceRequest; | 160 | public event MoneyBalanceRequest OnMoneyBalanceRequest; |
159 | public event UpdateAvatarProperties OnUpdateAvatarProperties; | 161 | public event UpdateAvatarProperties OnUpdateAvatarProperties; |
160 | 162 | ||
@@ -408,6 +410,13 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
408 | { | 410 | { |
409 | } | 411 | } |
410 | 412 | ||
413 | public virtual void SendEconomyData(float EnergyEfficiency, int ObjectCapacity, int ObjectCount, int PriceEnergyUnit, | ||
414 | int PriceGroupCreate, int PriceObjectClaim, float PriceObjectRent, float PriceObjectScaleFactor, | ||
415 | int PriceParcelClaim, float PriceParcelClaimFactor, int PriceParcelRent, int PricePublicObjectDecay, | ||
416 | int PricePublicObjectDelete, int PriceRentLight, int PriceUpload, int TeleportMinPrice, float TeleportPriceExponent) | ||
417 | { | ||
418 | |||
419 | } | ||
411 | public virtual void SendNameReply(LLUUID profileId, string firstname, string lastname) | 420 | public virtual void SendNameReply(LLUUID profileId, string firstname, string lastname) |
412 | { | 421 | { |
413 | } | 422 | } |