aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/ClientView.API.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/ClientView.API.cs')
-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;