diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 19 | ||||
-rw-r--r-- | OpenSim/Framework/ISceneAgent.cs | 7 |
2 files changed, 20 insertions, 6 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index c1bd078..af76ea9 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -749,14 +749,21 @@ namespace OpenSim.Framework | |||
749 | /// </summary> | 749 | /// </summary> |
750 | string Name { get; } | 750 | string Name { get; } |
751 | 751 | ||
752 | /// <value> | 752 | /// <summary> |
753 | /// Determines whether the client thread is doing anything or not. | 753 | /// True if the client is active (sending and receiving new UDP messages). False if the client is being closed. |
754 | /// </value> | 754 | /// </summary> |
755 | bool IsActive { get; set; } | 755 | bool IsActive { get; set; } |
756 | 756 | ||
757 | /// <value> | 757 | /// <summary> |
758 | /// Determines whether the client is or has been removed from a given scene | 758 | /// Set if the client is closing due to a logout request |
759 | /// </value> | 759 | /// </summary> |
760 | /// <remarks> | ||
761 | /// Do not use this flag if you want to know if the client is closing, since it will not be set in other | ||
762 | /// circumstances (e.g. if a child agent is closed or the agent is kicked off the simulator). Use IsActive | ||
763 | /// instead with a IClientAPI.SceneAgent.IsChildAgent check if necessary. | ||
764 | /// | ||
765 | /// Only set for root agents. | ||
766 | /// </remarks> | ||
760 | bool IsLoggingOut { get; set; } | 767 | bool IsLoggingOut { get; set; } |
761 | 768 | ||
762 | bool SendLogoutPacketWhenClosing { set; } | 769 | bool SendLogoutPacketWhenClosing { set; } |
diff --git a/OpenSim/Framework/ISceneAgent.cs b/OpenSim/Framework/ISceneAgent.cs index 824172d..563d906 100644 --- a/OpenSim/Framework/ISceneAgent.cs +++ b/OpenSim/Framework/ISceneAgent.cs | |||
@@ -26,6 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using OpenMetaverse; | ||
29 | 30 | ||
30 | namespace OpenSim.Framework | 31 | namespace OpenSim.Framework |
31 | { | 32 | { |
@@ -71,5 +72,11 @@ namespace OpenSim.Framework | |||
71 | /// This includes scene object data and the appearance data of other avatars. | 72 | /// This includes scene object data and the appearance data of other avatars. |
72 | /// </remarks> | 73 | /// </remarks> |
73 | void SendInitialDataToMe(); | 74 | void SendInitialDataToMe(); |
75 | |||
76 | /// <summary> | ||
77 | /// Direction in which the scene presence is looking. | ||
78 | /// </summary> | ||
79 | /// <remarks>Will be Vector3.Zero for a child agent.</remarks> | ||
80 | Vector3 Lookat { get; } | ||
74 | } | 81 | } |
75 | } \ No newline at end of file | 82 | } \ No newline at end of file |