From 64f9f03e9a3cb345ef85e1990bebc3a7cca41c9e Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 24 Oct 2008 23:04:55 +0000 Subject: Plumb some more --- .../Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs | 12 ++++++++++++ .../Region/Environment/Modules/Framework/EventQueueHelper.cs | 2 +- OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs | 4 ++++ 3 files changed, 17 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Modules') diff --git a/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs index 4de6fa2..fc1decf 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs @@ -187,6 +187,10 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney { } + public void ApplyGroupCreationCharge(UUID agentID) + { + } + public bool ObjectGiveMoney(UUID objectID, UUID fromID, UUID toID, int amount) { string description = String.Format("Object {0} pays {1}", resolveObjectName(objectID), resolveAgentName(toID)); @@ -1512,6 +1516,14 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney return true; } + public bool GroupCreationCovered(IClientAPI client) + { + if (GetBalance(client) < PriceGroupCreate) + return false; + + return true; + } + #endregion public void ObjectBuy(IClientAPI remoteClient, UUID agentID, diff --git a/OpenSim/Region/Environment/Modules/Framework/EventQueueHelper.cs b/OpenSim/Region/Environment/Modules/Framework/EventQueueHelper.cs index 1e7eb59..0d0eed2 100644 --- a/OpenSim/Region/Environment/Modules/Framework/EventQueueHelper.cs +++ b/OpenSim/Region/Environment/Modules/Framework/EventQueueHelper.cs @@ -52,7 +52,7 @@ namespace OpenSim.Region.Environment }; } - private static LLSD buildEvent(string eventName, LLSD eventBody) + public static LLSD buildEvent(string eventName, LLSD eventBody) { LLSDMap llsdEvent = new LLSDMap(2); llsdEvent.Add("message", new LLSDString(eventName)); diff --git a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs index 8617605..e2b035a 100644 --- a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs @@ -955,5 +955,9 @@ namespace OpenSim.Region.Environment.Modules.World.NPC public void SendDeclineCallingCard (UUID transactionID) { } + + public void SendAvatarGroupsReply(UUID avatarID, GroupMembershipData[] data) + { + } } } -- cgit v1.1