aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
diff options
context:
space:
mode:
authorDr Scofield2008-07-25 10:05:50 +0000
committerDr Scofield2008-07-25 10:05:50 +0000
commit24e15088ea796afec01a197c6812c1c52e2de324 (patch)
tree0ecc8cc29d5c0d0297c2f5bc5c36f0d097e07f9d /OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
parentFrom: awebb (diff)
downloadopensim-SC-24e15088ea796afec01a197c6812c1c52e2de324.zip
opensim-SC-24e15088ea796afec01a197c6812c1c52e2de324.tar.gz
opensim-SC-24e15088ea796afec01a197c6812c1c52e2de324.tar.bz2
opensim-SC-24e15088ea796afec01a197c6812c1c52e2de324.tar.xz
renaming the increasingly ill-named ChatFromViewerArgs to OSChatMessage
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
index f0442ac..ce4cd62 100644
--- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
+++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
@@ -55,7 +55,7 @@ namespace OpenSim.Region.Examples.SimpleModule
55 public event Action<IClientAPI> OnConnectionClosed; 55 public event Action<IClientAPI> OnConnectionClosed;
56 56
57 public event ImprovedInstantMessage OnInstantMessage; 57 public event ImprovedInstantMessage OnInstantMessage;
58 public event ChatFromViewer OnChatFromViewer; 58 public event ChatMessage OnChatFromViewer;
59 public event TextureRequest OnRequestTexture; 59 public event TextureRequest OnRequestTexture;
60 public event RezObject OnRezObject; 60 public event RezObject OnRezObject;
61 public event ModifyTerrain OnModifyTerrain; 61 public event ModifyTerrain OnModifyTerrain;
@@ -668,7 +668,7 @@ namespace OpenSim.Region.Examples.SimpleModule
668 { 668 {
669 if (OnChatFromViewer != null) 669 if (OnChatFromViewer != null)
670 { 670 {
671 ChatFromViewerArgs args = new ChatFromViewerArgs(); 671 OSChatMessage args = new OSChatMessage();
672 args.Message = "Hey You! Get out of my Home. This is my Region"; 672 args.Message = "Hey You! Get out of my Home. This is my Region";
673 args.Channel = 0; 673 args.Channel = 0;
674 args.From = FirstName + " " + LastName; 674 args.From = FirstName + " " + LastName;