aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/OSChatMessage.cs
diff options
context:
space:
mode:
authorTalun2012-04-22 23:07:50 +0100
committerBlueWall2012-04-23 07:16:33 -0400
commit679da63da617d031e5e7ae3f2d2a29db1a23ace3 (patch)
tree3feb83235a10b67ed068fb69de74d3c005b7a717 /OpenSim/Framework/OSChatMessage.cs
parentrefactor: simply some properties code in BasicPhysicsPlugin (diff)
downloadopensim-SC-679da63da617d031e5e7ae3f2d2a29db1a23ace3.zip
opensim-SC-679da63da617d031e5e7ae3f2d2a29db1a23ace3.tar.gz
opensim-SC-679da63da617d031e5e7ae3f2d2a29db1a23ace3.tar.bz2
opensim-SC-679da63da617d031e5e7ae3f2d2a29db1a23ace3.tar.xz
Mantis 5977 Corrections to llRegionSayTo
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/OSChatMessage.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Framework/OSChatMessage.cs b/OpenSim/Framework/OSChatMessage.cs
index 54fa275..455756d 100644
--- a/OpenSim/Framework/OSChatMessage.cs
+++ b/OpenSim/Framework/OSChatMessage.cs
@@ -51,10 +51,12 @@ namespace OpenSim.Framework
51 protected object m_senderObject; 51 protected object m_senderObject;
52 protected ChatTypeEnum m_type; 52 protected ChatTypeEnum m_type;
53 protected UUID m_fromID; 53 protected UUID m_fromID;
54 protected UUID m_toID;
54 55
55 public OSChatMessage() 56 public OSChatMessage()
56 { 57 {
57 m_position = new Vector3(); 58 m_position = new Vector3();
59 m_toID = UUID.Zero;
58 } 60 }
59 61
60 /// <summary> 62 /// <summary>
@@ -102,6 +104,15 @@ namespace OpenSim.Framework
102 set { m_from = value; } 104 set { m_from = value; }
103 } 105 }
104 106
107 /// <summary>
108 /// The name of the sender (needed for scripts)
109 /// </summary>
110 public string To
111 {
112 get { return m_from; }
113 set { m_from = value; }
114 }
115
105 #region IEventArgs Members 116 #region IEventArgs Members
106 117
107 /// TODO: Sender and SenderObject should just be Sender and of 118 /// TODO: Sender and SenderObject should just be Sender and of
@@ -132,6 +143,15 @@ namespace OpenSim.Framework
132 } 143 }
133 144
134 /// <summary> 145 /// <summary>
146 /// The single recipient or all if not set.
147 /// </summary>
148 public UUID TargetUUID
149 {
150 get { return m_toID; }
151 set { m_toID = value; }
152 }
153
154 /// <summary>
135 /// 155 ///
136 /// </summary> 156 /// </summary>
137 public IScene Scene 157 public IScene Scene