aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/NPC
diff options
context:
space:
mode:
authorTeravus Ovares2008-08-25 07:35:17 +0000
committerTeravus Ovares2008-08-25 07:35:17 +0000
commit2912aafe259727351eb9405532e45aa3501b7e9a (patch)
tree34774a49306ae19a6682580d41927fcfb222ea6e /OpenSim/Region/Environment/Modules/World/NPC
parentMantis#2043. Thank you kindly, Ralphos for a patch that addresses: (diff)
downloadopensim-SC-2912aafe259727351eb9405532e45aa3501b7e9a.zip
opensim-SC-2912aafe259727351eb9405532e45aa3501b7e9a.tar.gz
opensim-SC-2912aafe259727351eb9405532e45aa3501b7e9a.tar.bz2
opensim-SC-2912aafe259727351eb9405532e45aa3501b7e9a.tar.xz
* This commit incorporates the heart of the OpenGridProtocol patch that is currently on Forge in a nice, friendly modular format.
* There are a lot of changes and this is quite experimental. It's off by default, but you can turn it on by examining the bottom of the opensim.ini.example for the proper OpenSim.ini settings. Remember, you still need an agent domain.. * Furthermore, it isn't quite right when it comes to teleporting to remote regions (place_avatar)
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/NPC')
-rw-r--r--OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
index 4754a04..2d27b11 100644
--- a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
+++ b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
@@ -43,6 +43,7 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
43 private readonly LLUUID m_uuid = LLUUID.Random(); 43 private readonly LLUUID m_uuid = LLUUID.Random();
44 private readonly Scene m_scene; 44 private readonly Scene m_scene;
45 45
46
46 public NPCAvatar(string firstname, string lastname, LLVector3 position, Scene scene) 47 public NPCAvatar(string firstname, string lastname, LLVector3 position, Scene scene)
47 { 48 {
48 m_firstname = firstname; 49 m_firstname = firstname;
@@ -124,6 +125,11 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
124 set { m_scene.Entities[m_uuid].AbsolutePosition = value; } 125 set { m_scene.Entities[m_uuid].AbsolutePosition = value; }
125 } 126 }
126 127
128 public bool SendLogoutPacketWhenClosing
129 {
130 set { }
131 }
132
127 #region Internal Functions 133 #region Internal Functions
128 134
129 private void SendOnChatFromViewer(string message, ChatTypeEnum chatType) 135 private void SendOnChatFromViewer(string message, ChatTypeEnum chatType)
@@ -857,5 +863,9 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
857 public void SendParcelInfo (RegionInfo info, LandData land, LLUUID parcelID, uint x, uint y) 863 public void SendParcelInfo (RegionInfo info, LandData land, LLUUID parcelID, uint x, uint y)
858 { 864 {
859 } 865 }
866
867 public void KillEndDone()
868 {
869 }
860 } 870 }
861} 871}