diff options
author | Melanie | 2009-12-26 04:13:27 +0000 |
---|---|---|
committer | Melanie | 2009-12-26 04:13:27 +0000 |
commit | f3a48606359cd6082f294af7defcdede67bf5853 (patch) | |
tree | 642aab2baa9247d695cb88b729a0b841a9d6e1a7 | |
parent | Make the GenericTableHandler work as intended (diff) | |
parent | Add AvatarInterestsReply (diff) | |
download | opensim-SC-f3a48606359cd6082f294af7defcdede67bf5853.zip opensim-SC-f3a48606359cd6082f294af7defcdede67bf5853.tar.gz opensim-SC-f3a48606359cd6082f294af7defcdede67bf5853.tar.bz2 opensim-SC-f3a48606359cd6082f294af7defcdede67bf5853.tar.xz |
Merge branch 'master' into careminster
8 files changed, 43 insertions, 1 deletions
diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs index 9f9d151..6e04a40 100644 --- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs +++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs | |||
@@ -1655,5 +1655,9 @@ namespace OpenSim.Client.MXP.ClientStack | |||
1655 | public void SendRebakeAvatarTextures(UUID textureID) | 1655 | public void SendRebakeAvatarTextures(UUID textureID) |
1656 | { | 1656 | { |
1657 | } | 1657 | } |
1658 | |||
1659 | public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages) | ||
1660 | { | ||
1661 | } | ||
1658 | } | 1662 | } |
1659 | } | 1663 | } |
diff --git a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs index 533475f..02b1dee 100644 --- a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs +++ b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs | |||
@@ -1161,5 +1161,9 @@ namespace OpenSim.Client.VWoHTTP.ClientStack | |||
1161 | public void SendRebakeAvatarTextures(UUID textureID) | 1161 | public void SendRebakeAvatarTextures(UUID textureID) |
1162 | { | 1162 | { |
1163 | } | 1163 | } |
1164 | |||
1165 | public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages) | ||
1166 | { | ||
1167 | } | ||
1164 | } | 1168 | } |
1165 | } | 1169 | } |
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index cb136e2..d8743b5 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -1392,5 +1392,7 @@ namespace OpenSim.Framework | |||
1392 | bool AddGenericPacketHandler(string MethodName, GenericMessage handler); | 1392 | bool AddGenericPacketHandler(string MethodName, GenericMessage handler); |
1393 | 1393 | ||
1394 | void SendRebakeAvatarTextures(UUID textureID); | 1394 | void SendRebakeAvatarTextures(UUID textureID); |
1395 | |||
1396 | void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages); | ||
1395 | } | 1397 | } |
1396 | } | 1398 | } |
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index e7ce2e0..3ac4e5e 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -15792,5 +15792,22 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
15792 | 15792 | ||
15793 | return osdEvent; | 15793 | return osdEvent; |
15794 | } | 15794 | } |
15795 | |||
15796 | public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages) | ||
15797 | { | ||
15798 | AvatarInterestsReplyPacket packet = (AvatarInterestsReplyPacket)PacketPool.Instance.GetPacket(PacketType.AvatarInterestsReply); | ||
15799 | |||
15800 | packet.AgentData = new AvatarInterestsReplyPacket.AgentDataBlock(); | ||
15801 | packet.AgentData.AgentID = AgentId; | ||
15802 | packet.AgentData.AvatarID = avatarID; | ||
15803 | |||
15804 | packet.PropertiesData = new AvatarInterestsReplyPacket.PropertiesDataBlock(); | ||
15805 | packet.PropertiesData.WantToMask = wantMask; | ||
15806 | packet.PropertiesData.WantToText = Utils.StringToBytes(wantText); | ||
15807 | packet.PropertiesData.SkillsMask = skillsMask; | ||
15808 | packet.PropertiesData.SkillsText = Utils.StringToBytes(skillsText); | ||
15809 | packet.PropertiesData.LanguagesText = Utils.StringToBytes(languages); | ||
15810 | OutPacket(packet, ThrottleOutPacketType.Task); | ||
15811 | } | ||
15795 | } | 15812 | } |
15796 | } | 15813 | } |
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index 816060f..fed8f64 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | |||
@@ -1099,5 +1099,9 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
1099 | public void SendRebakeAvatarTextures(UUID textureID) | 1099 | public void SendRebakeAvatarTextures(UUID textureID) |
1100 | { | 1100 | { |
1101 | } | 1101 | } |
1102 | |||
1103 | public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages) | ||
1104 | { | ||
1105 | } | ||
1102 | } | 1106 | } |
1103 | } | 1107 | } |
diff --git a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs index bdf1574..c333413 100644 --- a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs +++ b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs | |||
@@ -1624,5 +1624,9 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server | |||
1624 | public void SendRebakeAvatarTextures(UUID textureID) | 1624 | public void SendRebakeAvatarTextures(UUID textureID) |
1625 | { | 1625 | { |
1626 | } | 1626 | } |
1627 | |||
1628 | public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages) | ||
1629 | { | ||
1630 | } | ||
1627 | } | 1631 | } |
1628 | } | 1632 | } |
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index 975033a..9ca5a0a 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | |||
@@ -1104,5 +1104,9 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
1104 | public void SendRebakeAvatarTextures(UUID textureID) | 1104 | public void SendRebakeAvatarTextures(UUID textureID) |
1105 | { | 1105 | { |
1106 | } | 1106 | } |
1107 | |||
1108 | public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages) | ||
1109 | { | ||
1110 | } | ||
1107 | } | 1111 | } |
1108 | } | 1112 | } |
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index 5f172c4..266e703 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -1159,6 +1159,9 @@ namespace OpenSim.Tests.Common.Mock | |||
1159 | public void SendRebakeAvatarTextures(UUID textureID) | 1159 | public void SendRebakeAvatarTextures(UUID textureID) |
1160 | { | 1160 | { |
1161 | } | 1161 | } |
1162 | 1162 | ||
1163 | public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages) | ||
1164 | { | ||
1165 | } | ||
1163 | } | 1166 | } |
1164 | } | 1167 | } |