diff options
author | lbsa71 | 2007-09-18 23:37:43 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-18 23:37:43 +0000 |
commit | 3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc (patch) | |
tree | 360018ac8ddb994a9f6247bf1da59141913a4337 /OpenSim/Region/Examples | |
parent | * Now at least we're not creating physActors for child agents. (diff) | |
download | opensim-SC-3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc.zip opensim-SC-3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc.tar.gz opensim-SC-3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc.tar.bz2 opensim-SC-3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc.tar.xz |
* Moved SendLogoutPacket back to IClientAPI.
Diffstat (limited to 'OpenSim/Region/Examples')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs index 9839b0c..d2dce6b 100644 --- a/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs | |||
@@ -8,6 +8,7 @@ using OpenSim.Framework.Interfaces; | |||
8 | using OpenSim.Framework.Types; | 8 | using OpenSim.Framework.Types; |
9 | using OpenSim.Framework.Utilities; | 9 | using OpenSim.Framework.Utilities; |
10 | using OpenSim.Region.Environment.Scenes; | 10 | using OpenSim.Region.Environment.Scenes; |
11 | using System; | ||
11 | 12 | ||
12 | namespace SimpleApp | 13 | namespace SimpleApp |
13 | { | 14 | { |
@@ -20,6 +21,9 @@ namespace SimpleApp | |||
20 | 21 | ||
21 | #pragma warning disable 67 | 22 | #pragma warning disable 67 |
22 | 23 | ||
24 | public event Action<IClientAPI> OnLogout; | ||
25 | public event Action<IClientAPI> OnConnectionClosed; | ||
26 | |||
23 | public event ImprovedInstantMessage OnInstantMessage; | 27 | public event ImprovedInstantMessage OnInstantMessage; |
24 | public event ChatFromViewer OnChatFromViewer; | 28 | public event ChatFromViewer OnChatFromViewer; |
25 | public event RezObject OnRezObject; | 29 | public event RezObject OnRezObject; |
@@ -246,8 +250,8 @@ namespace SimpleApp | |||
246 | } | 250 | } |
247 | } | 251 | } |
248 | 252 | ||
249 | public event System.Action<IClientAPI> OnLogout; | 253 | public void SendLogoutPacket() |
250 | 254 | { | |
251 | public event System.Action<IClientAPI> OnConnectionClosed; | 255 | } |
252 | } | 256 | } |
253 | } | 257 | } |