From 24e15088ea796afec01a197c6812c1c52e2de324 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Fri, 25 Jul 2008 10:05:50 +0000 Subject: renaming the increasingly ill-named ChatFromViewerArgs to OSChatMessage --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/ClientStack') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 0c420b4..b9a00c0 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -122,8 +122,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP private RequestAvatarProperties handlerRequestAvatarProperties = null; //OnRequestAvatarProperties; private UpdateAvatarProperties handlerUpdateAvatarProperties = null; // OnUpdateAvatarProperties; - private ChatFromViewer handlerChatFromViewer = null; //OnChatFromViewer; - private ChatFromViewer handlerChatFromViewer2 = null; //OnChatFromViewer; + private ChatMessage handlerChatFromViewer = null; //OnChatFromViewer; + private ChatMessage handlerChatFromViewer2 = null; //OnChatFromViewer; private ImprovedInstantMessage handlerInstantMessage = null; //OnInstantMessage; private FriendActionDelegate handlerApproveFriendRequest = null; //OnApproveFriendRequest; private FriendshipTermination handlerTerminateFriendship = null; //OnTerminateFriendship; @@ -770,7 +770,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP public event Action OnConnectionClosed; public event ViewerEffectEventHandler OnViewerEffect; public event ImprovedInstantMessage OnInstantMessage; - public event ChatFromViewer OnChatFromViewer; + public event ChatMessage OnChatFromViewer; public event TextureRequest OnRequestTexture; public event RezObject OnRezObject; public event GenericCall4 OnDeRezObject; @@ -3859,7 +3859,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP if (OnChatFromViewer != null) { - ChatFromViewerArgs args = new ChatFromViewerArgs(); + OSChatMessage args = new OSChatMessage(); args.Channel = channel; args.From = fromName; args.Message = Helpers.FieldToUTF8String(message); @@ -3898,7 +3898,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP byte[] msg = rdialog.Data.ButtonLabel; if (OnChatFromViewer != null) { - ChatFromViewerArgs args = new ChatFromViewerArgs(); + OSChatMessage args = new OSChatMessage(); args.Channel = ch; args.From = String.Empty; args.Message = Helpers.FieldToUTF8String(msg); -- cgit v1.1