diff options
author | Melanie | 2010-01-16 00:05:08 +0000 |
---|---|---|
committer | Melanie | 2010-01-16 00:05:08 +0000 |
commit | 10f8c2ea9b67158c32b361f9652d503ea48de292 (patch) | |
tree | be0d88bc4b6df3825a0d27f62a08170d7c7ad262 /OpenSim/Region/ClientStack | |
parent | Merge branch 'presence-refactor' of ssh://diva@opensimulator.org/var/git/open... (diff) | |
parent | Add "create user" instructions to README.txt (diff) | |
download | opensim-SC-10f8c2ea9b67158c32b361f9652d503ea48de292.zip opensim-SC-10f8c2ea9b67158c32b361f9652d503ea48de292.tar.gz opensim-SC-10f8c2ea9b67158c32b361f9652d503ea48de292.tar.bz2 opensim-SC-10f8c2ea9b67158c32b361f9652d503ea48de292.tar.xz |
Merge branch 'master' into presence-refactor
This merge was very conflicted. I think I got them all, but I can't be sure.
I had to merge to master or risk divergence to the point of unmergeability.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 161 |
1 files changed, 88 insertions, 73 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index b937226..ae0bd79 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -298,25 +298,25 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
298 | public event AvatarInterestUpdate OnAvatarInterestUpdate; | 298 | public event AvatarInterestUpdate OnAvatarInterestUpdate; |
299 | public event PlacesQuery OnPlacesQuery; | 299 | public event PlacesQuery OnPlacesQuery; |
300 | public event AgentFOV OnAgentFOV; | 300 | public event AgentFOV OnAgentFOV; |
301 | public event FindAgentUpdate OnFindAgentEvent; | 301 | public event FindAgentUpdate OnFindAgent; |
302 | public event TrackAgentUpdate OnTrackAgentEvent; | 302 | public event TrackAgentUpdate OnTrackAgent; |
303 | public event NewUserReport OnUserReportEvent; | 303 | public event NewUserReport OnUserReport; |
304 | public event SaveStateHandler OnSaveStateEvent; | 304 | public event SaveStateHandler OnSaveState; |
305 | public event GroupAccountSummaryRequest OnGroupAccountSummaryRequest; | 305 | public event GroupAccountSummaryRequest OnGroupAccountSummaryRequest; |
306 | public event GroupAccountDetailsRequest OnGroupAccountDetailsRequest; | 306 | public event GroupAccountDetailsRequest OnGroupAccountDetailsRequest; |
307 | public event GroupAccountTransactionsRequest OnGroupAccountTransactionsRequest; | 307 | public event GroupAccountTransactionsRequest OnGroupAccountTransactionsRequest; |
308 | public event FreezeUserUpdate OnParcelFreezeUserEvent; | 308 | public event FreezeUserUpdate OnParcelFreezeUser; |
309 | public event EjectUserUpdate OnParcelEjectUserEvent; | 309 | public event EjectUserUpdate OnParcelEjectUser; |
310 | public event ParcelBuyPass OnParcelBuyPass; | 310 | public event ParcelBuyPass OnParcelBuyPass; |
311 | public event ParcelGodMark OnParcelGodMark; | 311 | public event ParcelGodMark OnParcelGodMark; |
312 | public event GroupActiveProposalsRequest OnGroupActiveProposalsRequest; | 312 | public event GroupActiveProposalsRequest OnGroupActiveProposalsRequest; |
313 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; | 313 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; |
314 | public event SimWideDeletesDelegate OnSimWideDeletes; | 314 | public event SimWideDeletesDelegate OnSimWideDeletes; |
315 | public event SendPostcard OnSendPostcard; | 315 | public event SendPostcard OnSendPostcard; |
316 | public event MuteListEntryUpdate OnUpdateMuteListEntryEvent; | 316 | public event MuteListEntryUpdate OnUpdateMuteListEntry; |
317 | public event MuteListEntryRemove OnRemoveMuteListEntryEvent; | 317 | public event MuteListEntryRemove OnRemoveMuteListEntry; |
318 | public event GodlikeMessage onGodlikeMessageEvent; | 318 | public event GodlikeMessage onGodlikeMessage; |
319 | public event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdateEvent; | 319 | public event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate; |
320 | 320 | ||
321 | 321 | ||
322 | #endregion Events | 322 | #endregion Events |
@@ -825,37 +825,39 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
825 | } | 825 | } |
826 | OutPacket(gmp, ThrottleOutPacketType.Task); | 826 | OutPacket(gmp, ThrottleOutPacketType.Task); |
827 | } | 827 | } |
828 | 828 | ||
829 | public void SendGroupActiveProposals(IClientAPI sender,UUID agentID, UUID sessionID, UUID groupID, UUID transactionID, Dictionary<int, string> VoteID, Dictionary<int, string> VoteInitiator, Dictionary<int, string> Majority, Dictionary<int, string> Quorum, Dictionary<int, string> TerseDateID, Dictionary<int, string> StartDateTime, Dictionary<int, string> EndDateTime, Dictionary<int, string> ProposalText) | 829 | public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) |
830 | { | 830 | { |
831 | foreach (KeyValuePair<int, string> Blank in VoteID) | 831 | int i = 0; |
832 | foreach (GroupActiveProposals Proposal in Proposals) | ||
832 | { | 833 | { |
833 | GroupActiveProposalItemReplyPacket GAPIRP = new GroupActiveProposalItemReplyPacket(); | 834 | GroupActiveProposalItemReplyPacket GAPIRP = new GroupActiveProposalItemReplyPacket(); |
834 | 835 | ||
835 | GAPIRP.AgentData.AgentID = agentID; | 836 | GAPIRP.AgentData.AgentID = AgentId; |
836 | GAPIRP.AgentData.GroupID = groupID; | 837 | GAPIRP.AgentData.GroupID = groupID; |
837 | GAPIRP.TransactionData.TransactionID = transactionID; | 838 | GAPIRP.TransactionData.TransactionID = transactionID; |
838 | GAPIRP.TransactionData.TotalNumItems = 1; | 839 | GAPIRP.TransactionData.TotalNumItems = ((uint)i+1); |
839 | GroupActiveProposalItemReplyPacket.ProposalDataBlock ProposalData = new GroupActiveProposalItemReplyPacket.ProposalDataBlock(); | 840 | GroupActiveProposalItemReplyPacket.ProposalDataBlock ProposalData = new GroupActiveProposalItemReplyPacket.ProposalDataBlock(); |
840 | GAPIRP.ProposalData = new GroupActiveProposalItemReplyPacket.ProposalDataBlock[1]; | 841 | GAPIRP.ProposalData = new GroupActiveProposalItemReplyPacket.ProposalDataBlock[1]; |
841 | ProposalData.VoteCast = Utils.StringToBytes("false"); | 842 | ProposalData.VoteCast = Utils.StringToBytes("false"); |
842 | ProposalData.VoteID = new UUID(VoteID[Blank.Key]); | 843 | ProposalData.VoteID = new UUID(Proposal.VoteID); |
843 | ProposalData.VoteInitiator = new UUID(VoteInitiator[Blank.Key]); | 844 | ProposalData.VoteInitiator = new UUID(Proposal.VoteInitiator); |
844 | ProposalData.Majority = (float)Convert.ToInt32(Majority[Blank.Key]); | 845 | ProposalData.Majority = (float)Convert.ToInt32(Proposal.Majority); |
845 | ProposalData.Quorum = Convert.ToInt32(Quorum[Blank.Key]); | 846 | ProposalData.Quorum = Convert.ToInt32(Proposal.Quorum); |
846 | ProposalData.TerseDateID = Utils.StringToBytes(TerseDateID[Blank.Key]); | 847 | ProposalData.TerseDateID = Utils.StringToBytes(Proposal.TerseDateID); |
847 | ProposalData.StartDateTime = Utils.StringToBytes(StartDateTime[Blank.Key]); | 848 | ProposalData.StartDateTime = Utils.StringToBytes(Proposal.StartDateTime); |
848 | ProposalData.EndDateTime = Utils.StringToBytes(EndDateTime[Blank.Key]); | 849 | ProposalData.EndDateTime = Utils.StringToBytes(Proposal.EndDateTime); |
849 | ProposalData.ProposalText = Utils.StringToBytes(ProposalText[Blank.Key]); | 850 | ProposalData.ProposalText = Utils.StringToBytes(Proposal.ProposalText); |
850 | ProposalData.AlreadyVoted = false; | 851 | ProposalData.AlreadyVoted = false; |
851 | GAPIRP.ProposalData[0] = ProposalData; | 852 | GAPIRP.ProposalData[i] = ProposalData; |
852 | OutPacket(GAPIRP, ThrottleOutPacketType.Task); | 853 | OutPacket(GAPIRP, ThrottleOutPacketType.Task); |
854 | i++; | ||
853 | } | 855 | } |
854 | if (VoteID.Count == 0) | 856 | if (Proposals.Length == 0) |
855 | { | 857 | { |
856 | GroupActiveProposalItemReplyPacket GAPIRP = new GroupActiveProposalItemReplyPacket(); | 858 | GroupActiveProposalItemReplyPacket GAPIRP = new GroupActiveProposalItemReplyPacket(); |
857 | 859 | ||
858 | GAPIRP.AgentData.AgentID = agentID; | 860 | GAPIRP.AgentData.AgentID = AgentId; |
859 | GAPIRP.AgentData.GroupID = groupID; | 861 | GAPIRP.AgentData.GroupID = groupID; |
860 | GAPIRP.TransactionData.TransactionID = transactionID; | 862 | GAPIRP.TransactionData.TransactionID = transactionID; |
861 | GAPIRP.TransactionData.TotalNumItems = 1; | 863 | GAPIRP.TransactionData.TotalNumItems = 1; |
@@ -875,40 +877,42 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
875 | OutPacket(GAPIRP, ThrottleOutPacketType.Task); | 877 | OutPacket(GAPIRP, ThrottleOutPacketType.Task); |
876 | } | 878 | } |
877 | } | 879 | } |
878 | 880 | ||
879 | public void SendGroupVoteHistory(IClientAPI sender,UUID agentID, UUID sessionID, UUID groupID, UUID transactionID, Dictionary<int, string> VoteID, Dictionary<int, string> VoteInitiator, Dictionary<int, string> Majority, Dictionary<int, string> Quorum, Dictionary<int, string> TerseDateID, Dictionary<int, string> StartDateTime, Dictionary<int, string> EndDateTime, Dictionary<int, string> VoteType, Dictionary<int, string> VoteResult, Dictionary<int, string> ProposalText) | 881 | public void SendGroupVoteHistory(UUID groupID, UUID transactionID, GroupVoteHistory[] Votes) |
880 | { | 882 | { |
881 | foreach (KeyValuePair<int, string> Blank in VoteID) | 883 | int i = 0; |
884 | foreach (GroupVoteHistory Vote in Votes) | ||
882 | { | 885 | { |
883 | GroupVoteHistoryItemReplyPacket GVHIRP = new GroupVoteHistoryItemReplyPacket(); | 886 | GroupVoteHistoryItemReplyPacket GVHIRP = new GroupVoteHistoryItemReplyPacket(); |
884 | 887 | ||
885 | GVHIRP.AgentData.AgentID = agentID; | 888 | GVHIRP.AgentData.AgentID = AgentId; |
886 | GVHIRP.AgentData.GroupID = groupID; | 889 | GVHIRP.AgentData.GroupID = groupID; |
887 | GVHIRP.TransactionData.TransactionID = transactionID; | 890 | GVHIRP.TransactionData.TransactionID = transactionID; |
888 | GVHIRP.TransactionData.TotalNumItems = 1; | 891 | GVHIRP.TransactionData.TotalNumItems = ((uint)i+1); |
889 | GVHIRP.HistoryItemData.VoteID = new UUID(VoteID[Blank.Key]); | 892 | GVHIRP.HistoryItemData.VoteID = new UUID(Vote.VoteID); |
890 | GVHIRP.HistoryItemData.VoteInitiator = new UUID(VoteInitiator[Blank.Key]); | 893 | GVHIRP.HistoryItemData.VoteInitiator = new UUID(Vote.VoteInitiator); |
891 | GVHIRP.HistoryItemData.Majority = (float)Convert.ToInt32(Majority[Blank.Key]); | 894 | GVHIRP.HistoryItemData.Majority = (float)Convert.ToInt32(Vote.Majority); |
892 | GVHIRP.HistoryItemData.Quorum = Convert.ToInt32(Quorum[Blank.Key]); | 895 | GVHIRP.HistoryItemData.Quorum = Convert.ToInt32(Vote.Quorum); |
893 | GVHIRP.HistoryItemData.TerseDateID = Utils.StringToBytes(TerseDateID[Blank.Key]); | 896 | GVHIRP.HistoryItemData.TerseDateID = Utils.StringToBytes(Vote.TerseDateID); |
894 | GVHIRP.HistoryItemData.StartDateTime = Utils.StringToBytes(StartDateTime[Blank.Key]); | 897 | GVHIRP.HistoryItemData.StartDateTime = Utils.StringToBytes(Vote.StartDateTime); |
895 | GVHIRP.HistoryItemData.EndDateTime = Utils.StringToBytes(EndDateTime[Blank.Key]); | 898 | GVHIRP.HistoryItemData.EndDateTime = Utils.StringToBytes(Vote.EndDateTime); |
896 | GVHIRP.HistoryItemData.VoteType = Utils.StringToBytes(VoteType[Blank.Key]); | 899 | GVHIRP.HistoryItemData.VoteType = Utils.StringToBytes(Vote.VoteType); |
897 | GVHIRP.HistoryItemData.VoteResult = Utils.StringToBytes(VoteResult[Blank.Key]); | 900 | GVHIRP.HistoryItemData.VoteResult = Utils.StringToBytes(Vote.VoteResult); |
898 | GVHIRP.HistoryItemData.ProposalText = Utils.StringToBytes(ProposalText[Blank.Key]); | 901 | GVHIRP.HistoryItemData.ProposalText = Utils.StringToBytes(Vote.ProposalText); |
899 | GroupVoteHistoryItemReplyPacket.VoteItemBlock VoteItem = new GroupVoteHistoryItemReplyPacket.VoteItemBlock(); | 902 | GroupVoteHistoryItemReplyPacket.VoteItemBlock VoteItem = new GroupVoteHistoryItemReplyPacket.VoteItemBlock(); |
900 | GVHIRP.VoteItem = new GroupVoteHistoryItemReplyPacket.VoteItemBlock[1]; | 903 | GVHIRP.VoteItem = new GroupVoteHistoryItemReplyPacket.VoteItemBlock[1]; |
901 | VoteItem.CandidateID = UUID.Zero; | 904 | VoteItem.CandidateID = UUID.Zero; |
902 | VoteItem.NumVotes = 0; //TODO: FIX THIS!!! | 905 | VoteItem.NumVotes = 0; //TODO: FIX THIS!!! |
903 | VoteItem.VoteCast = Utils.StringToBytes("Yes"); | 906 | VoteItem.VoteCast = Utils.StringToBytes("Yes"); |
904 | GVHIRP.VoteItem[0] = VoteItem; | 907 | GVHIRP.VoteItem[i] = VoteItem; |
905 | OutPacket(GVHIRP, ThrottleOutPacketType.Task); | 908 | OutPacket(GVHIRP, ThrottleOutPacketType.Task); |
906 | } | 909 | i++; |
907 | if (VoteID.Count == 0) | 910 | } |
911 | if (Votes.Length == 0) | ||
908 | { | 912 | { |
909 | GroupVoteHistoryItemReplyPacket GVHIRP = new GroupVoteHistoryItemReplyPacket(); | 913 | GroupVoteHistoryItemReplyPacket GVHIRP = new GroupVoteHistoryItemReplyPacket(); |
910 | 914 | ||
911 | GVHIRP.AgentData.AgentID = agentID; | 915 | GVHIRP.AgentData.AgentID = AgentId; |
912 | GVHIRP.AgentData.GroupID = groupID; | 916 | GVHIRP.AgentData.GroupID = groupID; |
913 | GVHIRP.TransactionData.TransactionID = transactionID; | 917 | GVHIRP.TransactionData.TransactionID = transactionID; |
914 | GVHIRP.TransactionData.TotalNumItems = 0; | 918 | GVHIRP.TransactionData.TotalNumItems = 0; |
@@ -3908,7 +3912,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3908 | return false; | 3912 | return false; |
3909 | } | 3913 | } |
3910 | 3914 | ||
3911 | public void SendEstateManagersList(UUID invoice, UUID[] EstateManagers, uint estateID) | 3915 | public void SendEstateList(UUID invoice, int code, UUID[] Data, uint estateID) |
3916 | |||
3912 | { | 3917 | { |
3913 | EstateOwnerMessagePacket packet = new EstateOwnerMessagePacket(); | 3918 | EstateOwnerMessagePacket packet = new EstateOwnerMessagePacket(); |
3914 | packet.AgentData.TransactionID = UUID.Random(); | 3919 | packet.AgentData.TransactionID = UUID.Random(); |
@@ -3917,26 +3922,36 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3917 | packet.MethodData.Invoice = invoice; | 3922 | packet.MethodData.Invoice = invoice; |
3918 | packet.MethodData.Method = Utils.StringToBytes("setaccess"); | 3923 | packet.MethodData.Method = Utils.StringToBytes("setaccess"); |
3919 | 3924 | ||
3920 | EstateOwnerMessagePacket.ParamListBlock[] returnblock = new EstateOwnerMessagePacket.ParamListBlock[6 + EstateManagers.Length]; | 3925 | EstateOwnerMessagePacket.ParamListBlock[] returnblock = new EstateOwnerMessagePacket.ParamListBlock[6 + Data.Length]; |
3921 | 3926 | ||
3922 | for (int i = 0; i < (6 + EstateManagers.Length); i++) | 3927 | for (int i = 0; i < (6 + Data.Length); i++) |
3923 | { | 3928 | { |
3924 | returnblock[i] = new EstateOwnerMessagePacket.ParamListBlock(); | 3929 | returnblock[i] = new EstateOwnerMessagePacket.ParamListBlock(); |
3925 | } | 3930 | } |
3926 | int j = 0; | 3931 | int j = 0; |
3927 | 3932 | ||
3928 | returnblock[j].Parameter = Utils.StringToBytes(estateID.ToString()); j++; | 3933 | returnblock[j].Parameter = Utils.StringToBytes(estateID.ToString()); j++; |
3929 | returnblock[j].Parameter = Utils.StringToBytes(((int)Constants.EstateAccessCodex.EstateManagers).ToString()); j++; | 3934 | returnblock[j].Parameter = Utils.StringToBytes(code.ToString()); j++; |
3935 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; | ||
3930 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; | 3936 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; |
3931 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; | 3937 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; |
3932 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; | 3938 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; |
3933 | returnblock[j].Parameter = Utils.StringToBytes(EstateManagers.Length.ToString()); j++; | 3939 | |
3934 | for (int i = 0; i < EstateManagers.Length; i++) | 3940 | j = 2; // Agents |
3941 | if ((code & 2) != 0) | ||
3942 | j = 3; // Groups | ||
3943 | if ((code & 8) != 0) | ||
3944 | j = 5; // Managers | ||
3945 | |||
3946 | returnblock[j].Parameter = Utils.StringToBytes(Data.Length.ToString()); | ||
3947 | j = 6; | ||
3948 | |||
3949 | for (int i = 0; i < Data.Length; i++) | ||
3935 | { | 3950 | { |
3936 | returnblock[j].Parameter = EstateManagers[i].GetBytes(); j++; | 3951 | returnblock[j].Parameter = Data[i].GetBytes(); j++; |
3937 | } | 3952 | } |
3938 | packet.ParamList = returnblock; | 3953 | packet.ParamList = returnblock; |
3939 | packet.Header.Reliable = false; | 3954 | packet.Header.Reliable = true; |
3940 | OutPacket(packet, ThrottleOutPacketType.Task); | 3955 | OutPacket(packet, ThrottleOutPacketType.Task); |
3941 | } | 3956 | } |
3942 | 3957 | ||
@@ -4887,7 +4902,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4887 | { | 4902 | { |
4888 | FreezeUserPacket FreezeUser = (FreezeUserPacket)Packet; | 4903 | FreezeUserPacket FreezeUser = (FreezeUserPacket)Packet; |
4889 | 4904 | ||
4890 | FreezeUserUpdate FreezeUserHandler = OnParcelFreezeUserEvent; | 4905 | FreezeUserUpdate FreezeUserHandler = OnParcelFreezeUser; |
4891 | if (FreezeUserHandler != null) | 4906 | if (FreezeUserHandler != null) |
4892 | { | 4907 | { |
4893 | FreezeUserHandler(this, | 4908 | FreezeUserHandler(this, |
@@ -4904,7 +4919,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4904 | EjectUserPacket EjectUser = | 4919 | EjectUserPacket EjectUser = |
4905 | (EjectUserPacket)Packet; | 4920 | (EjectUserPacket)Packet; |
4906 | 4921 | ||
4907 | EjectUserUpdate EjectUserHandler = OnParcelEjectUserEvent; | 4922 | EjectUserUpdate EjectUserHandler = OnParcelEjectUser; |
4908 | if (EjectUserHandler != null) | 4923 | if (EjectUserHandler != null) |
4909 | { | 4924 | { |
4910 | EjectUserHandler(this, | 4925 | EjectUserHandler(this, |
@@ -5303,7 +5318,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5303 | FindAgentPacket FindAgent = | 5318 | FindAgentPacket FindAgent = |
5304 | (FindAgentPacket)Packet; | 5319 | (FindAgentPacket)Packet; |
5305 | 5320 | ||
5306 | FindAgentUpdate FindAgentHandler = OnFindAgentEvent; | 5321 | FindAgentUpdate FindAgentHandler = OnFindAgent; |
5307 | if (FindAgentHandler != null) | 5322 | if (FindAgentHandler != null) |
5308 | { | 5323 | { |
5309 | FindAgentHandler(this,FindAgent.AgentBlock.Hunter,FindAgent.AgentBlock.Prey); | 5324 | FindAgentHandler(this,FindAgent.AgentBlock.Hunter,FindAgent.AgentBlock.Prey); |
@@ -5317,7 +5332,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5317 | TrackAgentPacket TrackAgent = | 5332 | TrackAgentPacket TrackAgent = |
5318 | (TrackAgentPacket)Packet; | 5333 | (TrackAgentPacket)Packet; |
5319 | 5334 | ||
5320 | TrackAgentUpdate TrackAgentHandler = OnTrackAgentEvent; | 5335 | TrackAgentUpdate TrackAgentHandler = OnTrackAgent; |
5321 | if (TrackAgentHandler != null) | 5336 | if (TrackAgentHandler != null) |
5322 | { | 5337 | { |
5323 | TrackAgentHandler(this, | 5338 | TrackAgentHandler(this, |
@@ -8606,7 +8621,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
8606 | GodUpdateRegionInfoPacket GodUpdateRegionInfo = | 8621 | GodUpdateRegionInfoPacket GodUpdateRegionInfo = |
8607 | (GodUpdateRegionInfoPacket)Packet; | 8622 | (GodUpdateRegionInfoPacket)Packet; |
8608 | 8623 | ||
8609 | GodUpdateRegionInfoUpdate handlerGodUpdateRegionInfo = OnGodUpdateRegionInfoUpdateEvent; | 8624 | GodUpdateRegionInfoUpdate handlerGodUpdateRegionInfo = OnGodUpdateRegionInfoUpdate; |
8610 | if (handlerGodUpdateRegionInfo != null) | 8625 | if (handlerGodUpdateRegionInfo != null) |
8611 | { | 8626 | { |
8612 | handlerGodUpdateRegionInfo(this, | 8627 | handlerGodUpdateRegionInfo(this, |
@@ -8639,7 +8654,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
8639 | GodlikeMessagePacket GodlikeMessage = | 8654 | GodlikeMessagePacket GodlikeMessage = |
8640 | (GodlikeMessagePacket)Packet; | 8655 | (GodlikeMessagePacket)Packet; |
8641 | 8656 | ||
8642 | GodlikeMessage handlerGodlikeMessage = onGodlikeMessageEvent; | 8657 | GodlikeMessage handlerGodlikeMessage = onGodlikeMessage; |
8643 | if (handlerGodlikeMessage != null) | 8658 | if (handlerGodlikeMessage != null) |
8644 | { | 8659 | { |
8645 | handlerGodlikeMessage(this, | 8660 | handlerGodlikeMessage(this, |
@@ -8655,7 +8670,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
8655 | { | 8670 | { |
8656 | StateSavePacket SaveStateMessage = | 8671 | StateSavePacket SaveStateMessage = |
8657 | (StateSavePacket)Packet; | 8672 | (StateSavePacket)Packet; |
8658 | SaveStateHandler handlerSaveStatePacket = OnSaveStateEvent; | 8673 | SaveStateHandler handlerSaveStatePacket = OnSaveState; |
8659 | if (handlerSaveStatePacket != null) | 8674 | if (handlerSaveStatePacket != null) |
8660 | { | 8675 | { |
8661 | handlerSaveStatePacket(this,SaveStateMessage.AgentData.AgentID); | 8676 | handlerSaveStatePacket(this,SaveStateMessage.AgentData.AgentID); |
@@ -9019,7 +9034,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
9019 | { | 9034 | { |
9020 | UpdateMuteListEntryPacket UpdateMuteListEntry = | 9035 | UpdateMuteListEntryPacket UpdateMuteListEntry = |
9021 | (UpdateMuteListEntryPacket)Packet; | 9036 | (UpdateMuteListEntryPacket)Packet; |
9022 | MuteListEntryUpdate handlerUpdateMuteListEntry = OnUpdateMuteListEntryEvent; | 9037 | MuteListEntryUpdate handlerUpdateMuteListEntry = OnUpdateMuteListEntry; |
9023 | if (handlerUpdateMuteListEntry != null) | 9038 | if (handlerUpdateMuteListEntry != null) |
9024 | { | 9039 | { |
9025 | handlerUpdateMuteListEntry(this, UpdateMuteListEntry.MuteData.MuteID, | 9040 | handlerUpdateMuteListEntry(this, UpdateMuteListEntry.MuteData.MuteID, |
@@ -9035,7 +9050,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
9035 | { | 9050 | { |
9036 | RemoveMuteListEntryPacket RemoveMuteListEntry = | 9051 | RemoveMuteListEntryPacket RemoveMuteListEntry = |
9037 | (RemoveMuteListEntryPacket)Packet; | 9052 | (RemoveMuteListEntryPacket)Packet; |
9038 | MuteListEntryRemove handlerRemoveMuteListEntry = OnRemoveMuteListEntryEvent; | 9053 | MuteListEntryRemove handlerRemoveMuteListEntry = OnRemoveMuteListEntry; |
9039 | if (handlerRemoveMuteListEntry != null) | 9054 | if (handlerRemoveMuteListEntry != null) |
9040 | { | 9055 | { |
9041 | handlerRemoveMuteListEntry(this, | 9056 | handlerRemoveMuteListEntry(this, |
@@ -9052,7 +9067,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
9052 | UserReportPacket UserReport = | 9067 | UserReportPacket UserReport = |
9053 | (UserReportPacket)Packet; | 9068 | (UserReportPacket)Packet; |
9054 | 9069 | ||
9055 | NewUserReport handlerUserReport = OnUserReportEvent; | 9070 | NewUserReport handlerUserReport = OnUserReport; |
9056 | if (handlerUserReport != null) | 9071 | if (handlerUserReport != null) |
9057 | { | 9072 | { |
9058 | handlerUserReport(this, | 9073 | handlerUserReport(this, |