aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer
diff options
context:
space:
mode:
authorMW2007-05-29 17:57:03 +0000
committerMW2007-05-29 17:57:03 +0000
commit4d0261ed2225dff3f107ec52484770a6f7435790 (patch)
tree7911331caadab92136ab84f80c41ceba1bdf7691 /OpenSim/OpenSim.RegionServer
parent(no commit message) (diff)
downloadopensim-SC_OLD-4d0261ed2225dff3f107ec52484770a6f7435790.zip
opensim-SC_OLD-4d0261ed2225dff3f107ec52484770a6f7435790.tar.gz
opensim-SC_OLD-4d0261ed2225dff3f107ec52484770a6f7435790.tar.bz2
opensim-SC_OLD-4d0261ed2225dff3f107ec52484770a6f7435790.tar.xz
Diffstat (limited to 'OpenSim/OpenSim.RegionServer')
-rw-r--r--OpenSim/OpenSim.RegionServer/ClientView.API.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.API.cs b/OpenSim/OpenSim.RegionServer/ClientView.API.cs
index 7b1e537..4177dff 100644
--- a/OpenSim/OpenSim.RegionServer/ClientView.API.cs
+++ b/OpenSim/OpenSim.RegionServer/ClientView.API.cs
@@ -57,6 +57,20 @@ namespace OpenSim
57 } 57 }
58 58
59 #region World/Avatar to Client 59 #region World/Avatar to Client
60
61 public void MoveAgentIntoRegion(RegionInfo regInfo)
62 {
63 AgentMovementCompletePacket mov = new AgentMovementCompletePacket();
64 mov.AgentData.SessionID = this.SessionID;
65 mov.AgentData.AgentID = this.AgentID;
66 mov.Data.RegionHandle = regInfo.RegionHandle;
67 // TODO - dynamicalise this stuff
68 mov.Data.Timestamp = 1172750370;
69 mov.Data.Position = this.startpos;
70 mov.Data.LookAt = new LLVector3(0.99f, 0.042f, 0);
71
72 OutPacket(mov);
73 }
60 public void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID) 74 public void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID)
61 { 75 {
62 System.Text.Encoding enc = System.Text.Encoding.ASCII; 76 System.Text.Encoding enc = System.Text.Encoding.ASCII;