diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index 24b9e6b..5b9b071 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | |||
@@ -47,7 +47,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
47 | private readonly string m_firstname; | 47 | private readonly string m_firstname; |
48 | private readonly string m_lastname; | 48 | private readonly string m_lastname; |
49 | private readonly Vector3 m_startPos; | 49 | private readonly Vector3 m_startPos; |
50 | private readonly UUID m_uuid = UUID.Random(); | 50 | private UUID m_uuid = UUID.Random(); |
51 | private readonly Scene m_scene; | 51 | private readonly Scene m_scene; |
52 | private readonly UUID m_ownerID; | 52 | private readonly UUID m_ownerID; |
53 | 53 | ||
@@ -174,7 +174,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
174 | #pragma warning disable 67 | 174 | #pragma warning disable 67 |
175 | public event Action<IClientAPI> OnLogout; | 175 | public event Action<IClientAPI> OnLogout; |
176 | public event ObjectPermissions OnObjectPermissions; | 176 | public event ObjectPermissions OnObjectPermissions; |
177 | 177 | public event MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy; | |
178 | public event MoneyTransferRequest OnMoneyTransferRequest; | 178 | public event MoneyTransferRequest OnMoneyTransferRequest; |
179 | public event ParcelBuy OnParcelBuy; | 179 | public event ParcelBuy OnParcelBuy; |
180 | public event Action<IClientAPI> OnConnectionClosed; | 180 | public event Action<IClientAPI> OnConnectionClosed; |
@@ -243,6 +243,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
243 | public event UpdatePrimTexture OnUpdatePrimTexture; | 243 | public event UpdatePrimTexture OnUpdatePrimTexture; |
244 | public event UpdateVector OnUpdatePrimGroupPosition; | 244 | public event UpdateVector OnUpdatePrimGroupPosition; |
245 | public event UpdateVector OnUpdatePrimSinglePosition; | 245 | public event UpdateVector OnUpdatePrimSinglePosition; |
246 | public event ClientChangeObject onClientChangeObject; | ||
246 | public event UpdatePrimRotation OnUpdatePrimGroupRotation; | 247 | public event UpdatePrimRotation OnUpdatePrimGroupRotation; |
247 | public event UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition; | 248 | public event UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition; |
248 | public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation; | 249 | public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation; |
@@ -380,7 +381,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
380 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; | 381 | public event ClassifiedInfoRequest OnClassifiedInfoRequest; |
381 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; | 382 | public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; |
382 | public event ClassifiedDelete OnClassifiedDelete; | 383 | public event ClassifiedDelete OnClassifiedDelete; |
383 | public event ClassifiedDelete OnClassifiedGodDelete; | 384 | public event ClassifiedGodDelete OnClassifiedGodDelete; |
384 | 385 | ||
385 | public event EventNotificationAddRequest OnEventNotificationAddRequest; | 386 | public event EventNotificationAddRequest OnEventNotificationAddRequest; |
386 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; | 387 | public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; |
@@ -419,6 +420,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
419 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; | 420 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; |
420 | public event SimWideDeletesDelegate OnSimWideDeletes; | 421 | public event SimWideDeletesDelegate OnSimWideDeletes; |
421 | public event SendPostcard OnSendPostcard; | 422 | public event SendPostcard OnSendPostcard; |
423 | public event ChangeInventoryItemFlags OnChangeInventoryItemFlags; | ||
422 | public event MuteListEntryUpdate OnUpdateMuteListEntry; | 424 | public event MuteListEntryUpdate OnUpdateMuteListEntry; |
423 | public event MuteListEntryRemove OnRemoveMuteListEntry; | 425 | public event MuteListEntryRemove OnRemoveMuteListEntry; |
424 | public event GodlikeMessage onGodlikeMessage; | 426 | public event GodlikeMessage onGodlikeMessage; |
@@ -446,6 +448,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
446 | public virtual UUID AgentId | 448 | public virtual UUID AgentId |
447 | { | 449 | { |
448 | get { return m_uuid; } | 450 | get { return m_uuid; } |
451 | set { m_uuid = value; } | ||
449 | } | 452 | } |
450 | 453 | ||
451 | public UUID SessionId | 454 | public UUID SessionId |
@@ -854,8 +857,11 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
854 | 857 | ||
855 | public void Close() | 858 | public void Close() |
856 | { | 859 | { |
857 | // Remove ourselves from the scene | 860 | Close(true); |
858 | m_scene.RemoveClient(AgentId, false); | 861 | } |
862 | |||
863 | public void Close(bool sendStop) | ||
864 | { | ||
859 | } | 865 | } |
860 | 866 | ||
861 | public void Start() | 867 | public void Start() |