diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 7 | ||||
-rw-r--r-- | OpenSim/Framework/UndoStack.cs | 6 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 3 |
3 files changed, 4 insertions, 12 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 8eb82b2..5b0726b 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -37,11 +37,9 @@ namespace OpenSim.Framework | |||
37 | public interface IEventArgs | 37 | public interface IEventArgs |
38 | { | 38 | { |
39 | IScene Scene { get; set; } | 39 | IScene Scene { get; set; } |
40 | |||
41 | IClientAPI Sender { get; set; } | 40 | IClientAPI Sender { get; set; } |
42 | } | 41 | } |
43 | 42 | ||
44 | |||
45 | public delegate void ViewerEffectEventHandler(IClientAPI sender, List<ViewerEffectEventHandlerArg> args); | 43 | public delegate void ViewerEffectEventHandler(IClientAPI sender, List<ViewerEffectEventHandlerArg> args); |
46 | 44 | ||
47 | public delegate void ChatFromViewer(Object sender, ChatFromViewerArgs e); | 45 | public delegate void ChatFromViewer(Object sender, ChatFromViewerArgs e); |
@@ -281,6 +279,7 @@ namespace OpenSim.Framework | |||
281 | public LLVector3 UserLocation; | 279 | public LLVector3 UserLocation; |
282 | public LLVector3 UserLookAt; | 280 | public LLVector3 UserLookAt; |
283 | } | 281 | } |
282 | |||
284 | public class RegionHandshakeArgs : EventArgs | 283 | public class RegionHandshakeArgs : EventArgs |
285 | { | 284 | { |
286 | public bool isEstateManager; | 285 | public bool isEstateManager; |
@@ -358,6 +357,7 @@ namespace OpenSim.Framework | |||
358 | public int SourceType; | 357 | public int SourceType; |
359 | public LLUUID TransferID; | 358 | public LLUUID TransferID; |
360 | } | 359 | } |
360 | |||
361 | public class AgentUpdateArgs : EventArgs | 361 | public class AgentUpdateArgs : EventArgs |
362 | { | 362 | { |
363 | public LLUUID AgentID; | 363 | public LLUUID AgentID; |
@@ -644,7 +644,6 @@ namespace OpenSim.Framework | |||
644 | public delegate void EstateTeleportOneUserHomeRequest(IClientAPI remoteClient, LLUUID invoice, LLUUID senderID, LLUUID prey); | 644 | public delegate void EstateTeleportOneUserHomeRequest(IClientAPI remoteClient, LLUUID invoice, LLUUID senderID, LLUUID prey); |
645 | public delegate void ScriptReset(IClientAPI remoteClient, LLUUID objectID, LLUUID itemID); | 645 | public delegate void ScriptReset(IClientAPI remoteClient, LLUUID objectID, LLUUID itemID); |
646 | 646 | ||
647 | |||
648 | public interface IClientAPI | 647 | public interface IClientAPI |
649 | { | 648 | { |
650 | LLVector3 StartPos { get; set; } | 649 | LLVector3 StartPos { get; set; } |
@@ -681,8 +680,6 @@ namespace OpenSim.Framework | |||
681 | set; | 680 | set; |
682 | } | 681 | } |
683 | 682 | ||
684 | |||
685 | |||
686 | [Obsolete("LLClientView Specific - Circuits are unique to LLClientView")] | 683 | [Obsolete("LLClientView Specific - Circuits are unique to LLClientView")] |
687 | uint CircuitCode { get; } | 684 | uint CircuitCode { get; } |
688 | [Obsolete("LLClientView Specific - Replace with more bare-bones arguments.")] | 685 | [Obsolete("LLClientView Specific - Replace with more bare-bones arguments.")] |
diff --git a/OpenSim/Framework/UndoStack.cs b/OpenSim/Framework/UndoStack.cs index a49a0cc..1fbe083 100644 --- a/OpenSim/Framework/UndoStack.cs +++ b/OpenSim/Framework/UndoStack.cs | |||
@@ -50,7 +50,6 @@ namespace OpenSim.Framework | |||
50 | get { return m_new == m_old; } | 50 | get { return m_new == m_old; } |
51 | } | 51 | } |
52 | 52 | ||
53 | |||
54 | public int Capacity | 53 | public int Capacity |
55 | { | 54 | { |
56 | get { return m_Undos.Length - 1; } | 55 | get { return m_Undos.Length - 1; } |
@@ -67,7 +66,6 @@ namespace OpenSim.Framework | |||
67 | } | 66 | } |
68 | } | 67 | } |
69 | 68 | ||
70 | |||
71 | public void Push(T item) | 69 | public void Push(T item) |
72 | { | 70 | { |
73 | if (IsFull) | 71 | if (IsFull) |
@@ -95,13 +93,11 @@ namespace OpenSim.Framework | |||
95 | throw new InvalidOperationException("Cannot pop from emtpy stack"); | 93 | throw new InvalidOperationException("Cannot pop from emtpy stack"); |
96 | } | 94 | } |
97 | 95 | ||
98 | |||
99 | public T Peek() | 96 | public T Peek() |
100 | { | 97 | { |
101 | return m_Undos[m_new]; | 98 | return m_Undos[m_new]; |
102 | } | 99 | } |
103 | 100 | ||
104 | |||
105 | public void Clear() | 101 | public void Clear() |
106 | { | 102 | { |
107 | if (Count > 0) | 103 | if (Count > 0) |
@@ -115,4 +111,4 @@ namespace OpenSim.Framework | |||
115 | } | 111 | } |
116 | } | 112 | } |
117 | } | 113 | } |
118 | } \ No newline at end of file | 114 | } |
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index b6c59e3..7ba096b 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -164,7 +164,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
164 | //neighbouring regions we have enabled a child agent in | 164 | //neighbouring regions we have enabled a child agent in |
165 | private readonly List<ulong> m_knownChildRegions = new List<ulong>(); | 165 | private readonly List<ulong> m_knownChildRegions = new List<ulong>(); |
166 | 166 | ||
167 | |||
168 | /// <summary> | 167 | /// <summary> |
169 | /// Implemented Control Flags | 168 | /// Implemented Control Flags |
170 | /// </summary> | 169 | /// </summary> |
@@ -214,12 +213,12 @@ namespace OpenSim.Region.Environment.Scenes | |||
214 | return false; | 213 | return false; |
215 | } | 214 | } |
216 | 215 | ||
217 | |||
218 | public bool Updated | 216 | public bool Updated |
219 | { | 217 | { |
220 | set { m_updateflag = value; } | 218 | set { m_updateflag = value; } |
221 | get { return m_updateflag; } | 219 | get { return m_updateflag; } |
222 | } | 220 | } |
221 | |||
223 | public bool Invulnerable | 222 | public bool Invulnerable |
224 | { | 223 | { |
225 | set { m_invulnerable = value; } | 224 | set { m_invulnerable = value; } |