From a575bc38d61ac5cb74f60e0eee503ca7f3e99803 Mon Sep 17 00:00:00 2001
From: MW
Date: Thu, 31 May 2007 14:22:14 +0000
Subject: More work on OpenGrid.Framework.Communications
---
OpenSim/OpenSim.RegionServer/ClientView.API.cs | 56 ++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
(limited to 'OpenSim')
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.API.cs b/OpenSim/OpenSim.RegionServer/ClientView.API.cs
index e7db495..b7d87ed 100644
--- a/OpenSim/OpenSim.RegionServer/ClientView.API.cs
+++ b/OpenSim/OpenSim.RegionServer/ClientView.API.cs
@@ -36,6 +36,9 @@ namespace OpenSim
public event NewAvatar OnNewAvatar;
public event GenericCall6 OnRemoveAvatar;
+ ///
+ ///
+ ///
public LLVector3 StartPos
{
get
@@ -48,6 +51,9 @@ namespace OpenSim
}
}
+ ///
+ ///
+ ///
public LLUUID AgentId
{
get
@@ -56,6 +62,9 @@ namespace OpenSim
}
}
+ ///
+ ///
+ ///
public string FirstName
{
get
@@ -65,6 +74,9 @@ namespace OpenSim
}
+ ///
+ ///
+ ///
public string LastName
{
get
@@ -75,6 +87,10 @@ namespace OpenSim
#region World/Avatar to Client
+ ///
+ ///
+ ///
+ ///
public void MoveAgentIntoRegion(RegionInfo regInfo)
{
AgentMovementCompletePacket mov = new AgentMovementCompletePacket();
@@ -88,6 +104,15 @@ namespace OpenSim
OutPacket(mov);
}
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID)
{
System.Text.Encoding enc = System.Text.Encoding.ASCII;
@@ -104,6 +129,10 @@ namespace OpenSim
this.OutPacket(reply);
}
+ ///
+ ///
+ ///
+ ///
public void SendWearables(AvatarWearable[] wearables)
{
AgentWearablesUpdatePacket aw = new AgentWearablesUpdatePacket();
@@ -125,6 +154,12 @@ namespace OpenSim
this.OutPacket(aw);
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public void SendAppearance(LLUUID agentID, byte[] visualParams, byte[] textureEntry)
{
AvatarAppearancePacket avp = new AvatarAppearancePacket();
@@ -200,6 +235,10 @@ namespace OpenSim
}
}
+ ///
+ ///
+ ///
+ ///
public void SendRegionHandshake(RegionInfo regionInfo)
{
OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE, "Avatar.cs:SendRegionHandshake() - Creating empty RegionHandshake packet");
@@ -240,6 +279,15 @@ namespace OpenSim
OutPacket(handshake);
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public void SendAvatarData(RegionInfo regionInfo, string firstName, string lastName, LLUUID avatarID, uint avatarLocalID, LLVector3 Pos)
{
System.Text.Encoding _enc = System.Text.Encoding.ASCII;
@@ -263,6 +311,10 @@ namespace OpenSim
}
+ ///
+ ///
+ ///
+ ///
protected void SetDefaultPacketValues(ref ObjectUpdatePacket.ObjectDataBlock objdata)
{
objdata.PSBlock = new byte[0];
@@ -291,6 +343,10 @@ namespace OpenSim
objdata.ObjectData[64] = 189;
}
+ ///
+ ///
+ ///
+ ///
protected ObjectUpdatePacket.ObjectDataBlock CreateDefaultAvatarPacket()
{
libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock objdata = new ObjectUpdatePacket.ObjectDataBlock(); // new libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock(data1, ref i);
--
cgit v1.1