aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ChatFromViewerArgs.cs
diff options
context:
space:
mode:
authorJeff Ames2008-07-11 09:18:17 +0000
committerJeff Ames2008-07-11 09:18:17 +0000
commit3b9cf652349327f7b255a850d5b966a9e3b9437e (patch)
tree3d5b58711b46616716c7e5079db3dc77fcf0d45e /OpenSim/Framework/ChatFromViewerArgs.cs
parentThanks Mike for another LSL compiler patch which fixes a bug where 'vector v=... (diff)
downloadopensim-SC-3b9cf652349327f7b255a850d5b966a9e3b9437e.zip
opensim-SC-3b9cf652349327f7b255a850d5b966a9e3b9437e.tar.gz
opensim-SC-3b9cf652349327f7b255a850d5b966a9e3b9437e.tar.bz2
opensim-SC-3b9cf652349327f7b255a850d5b966a9e3b9437e.tar.xz
Update svn properties.
Diffstat (limited to 'OpenSim/Framework/ChatFromViewerArgs.cs')
-rw-r--r--OpenSim/Framework/ChatFromViewerArgs.cs234
1 files changed, 117 insertions, 117 deletions
diff --git a/OpenSim/Framework/ChatFromViewerArgs.cs b/OpenSim/Framework/ChatFromViewerArgs.cs
index 5000fc6..fb4bb94 100644
--- a/OpenSim/Framework/ChatFromViewerArgs.cs
+++ b/OpenSim/Framework/ChatFromViewerArgs.cs
@@ -1,118 +1,118 @@
1using System; 1using System;
2using libsecondlife; 2using libsecondlife;
3 3
4namespace OpenSim.Framework 4namespace OpenSim.Framework
5{ 5{
6 public interface IEventArgs 6 public interface IEventArgs
7 { 7 {
8 IScene Scene { get; set; } 8 IScene Scene { get; set; }
9 IClientAPI Sender { get; set; } 9 IClientAPI Sender { get; set; }
10 } 10 }
11 11
12 /// <summary> 12 /// <summary>
13 /// ChatFromViewer Arguments 13 /// ChatFromViewer Arguments
14 /// </summary> 14 /// </summary>
15 public class ChatFromViewerArgs : EventArgs, IEventArgs 15 public class ChatFromViewerArgs : EventArgs, IEventArgs
16 { 16 {
17 protected int m_channel; 17 protected int m_channel;
18 protected string m_from; 18 protected string m_from;
19 protected string m_message; 19 protected string m_message;
20 protected LLVector3 m_position; 20 protected LLVector3 m_position;
21 21
22 protected IScene m_scene; 22 protected IScene m_scene;
23 protected IClientAPI m_sender; 23 protected IClientAPI m_sender;
24 protected object m_senderObject; 24 protected object m_senderObject;
25 protected ChatTypeEnum m_type; 25 protected ChatTypeEnum m_type;
26 protected LLUUID m_fromID; 26 protected LLUUID m_fromID;
27 27
28 public ChatFromViewerArgs() 28 public ChatFromViewerArgs()
29 { 29 {
30 m_position = new LLVector3(); 30 m_position = new LLVector3();
31 } 31 }
32 32
33 /// <summary> 33 /// <summary>
34 /// The message sent by the user 34 /// The message sent by the user
35 /// </summary> 35 /// </summary>
36 public string Message 36 public string Message
37 { 37 {
38 get { return m_message; } 38 get { return m_message; }
39 set { m_message = value; } 39 set { m_message = value; }
40 } 40 }
41 41
42 /// <summary> 42 /// <summary>
43 /// The type of message, eg say, shout, broadcast. 43 /// The type of message, eg say, shout, broadcast.
44 /// </summary> 44 /// </summary>
45 public ChatTypeEnum Type 45 public ChatTypeEnum Type
46 { 46 {
47 get { return m_type; } 47 get { return m_type; }
48 set { m_type = value; } 48 set { m_type = value; }
49 } 49 }
50 50
51 /// <summary> 51 /// <summary>
52 /// Which channel was this message sent on? Different channels may have different listeners. Public chat is on channel zero. 52 /// Which channel was this message sent on? Different channels may have different listeners. Public chat is on channel zero.
53 /// </summary> 53 /// </summary>
54 public int Channel 54 public int Channel
55 { 55 {
56 get { return m_channel; } 56 get { return m_channel; }
57 set { m_channel = value; } 57 set { m_channel = value; }
58 } 58 }
59 59
60 /// <summary> 60 /// <summary>
61 /// The position of the sender at the time of the message broadcast. 61 /// The position of the sender at the time of the message broadcast.
62 /// </summary> 62 /// </summary>
63 public LLVector3 Position 63 public LLVector3 Position
64 { 64 {
65 get { return m_position; } 65 get { return m_position; }
66 set { m_position = value; } 66 set { m_position = value; }
67 } 67 }
68 68
69 /// <summary> 69 /// <summary>
70 /// The name of the sender (needed for scripts) 70 /// The name of the sender (needed for scripts)
71 /// </summary> 71 /// </summary>
72 public string From 72 public string From
73 { 73 {
74 get { return m_from; } 74 get { return m_from; }
75 set { m_from = value; } 75 set { m_from = value; }
76 } 76 }
77 77
78 #region IEventArgs Members 78 #region IEventArgs Members
79 79
80 /// TODO: Sender and SenderObject should just be Sender and of 80 /// TODO: Sender and SenderObject should just be Sender and of
81 /// type IChatSender 81 /// type IChatSender
82 82
83 /// <summary> 83 /// <summary>
84 /// The client responsible for sending the message, or null. 84 /// The client responsible for sending the message, or null.
85 /// </summary> 85 /// </summary>
86 public IClientAPI Sender 86 public IClientAPI Sender
87 { 87 {
88 get { return m_sender; } 88 get { return m_sender; }
89 set { m_sender = value; } 89 set { m_sender = value; }
90 } 90 }
91 91
92 /// <summary> 92 /// <summary>
93 /// The object responsible for sending the message, or null. 93 /// The object responsible for sending the message, or null.
94 /// </summary> 94 /// </summary>
95 public object SenderObject 95 public object SenderObject
96 { 96 {
97 get { return m_senderObject; } 97 get { return m_senderObject; }
98 set { m_senderObject = value; } 98 set { m_senderObject = value; }
99 } 99 }
100 100
101 public LLUUID SenderUUID 101 public LLUUID SenderUUID
102 { 102 {
103 get { return m_fromID; } 103 get { return m_fromID; }
104 set { m_fromID = value; } 104 set { m_fromID = value; }
105 } 105 }
106 106
107 /// <summary> 107 /// <summary>
108 /// 108 ///
109 /// </summary> 109 /// </summary>
110 public IScene Scene 110 public IScene Scene
111 { 111 {
112 get { return m_scene; } 112 get { return m_scene; }
113 set { m_scene = value; } 113 set { m_scene = value; }
114 } 114 }
115 115
116 #endregion 116 #endregion
117 } 117 }
118} \ No newline at end of file 118} \ No newline at end of file