aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.API.cs
diff options
context:
space:
mode:
authorMW2007-08-19 14:55:43 +0000
committerMW2007-08-19 14:55:43 +0000
commit3dffc3e3f647faa3e82126f5107ce13fbd610ffb (patch)
tree7ba2c5494218f34fdb42253615af625c32d9ccde /OpenSim/Region/ClientStack/ClientView.API.cs
parentSqlite datastore should now save the textures and extraparams data (used by s... (diff)
downloadopensim-SC-3dffc3e3f647faa3e82126f5107ce13fbd610ffb.zip
opensim-SC-3dffc3e3f647faa3e82126f5107ce13fbd610ffb.tar.gz
opensim-SC-3dffc3e3f647faa3e82126f5107ce13fbd610ffb.tar.bz2
opensim-SC-3dffc3e3f647faa3e82126f5107ce13fbd610ffb.tar.xz
small clean up.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.API.cs')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.API.cs18
1 files changed, 17 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs
index c67ecb5..beb83af 100644
--- a/OpenSim/Region/ClientStack/ClientView.API.cs
+++ b/OpenSim/Region/ClientStack/ClientView.API.cs
@@ -80,6 +80,7 @@ namespace OpenSim.Region.ClientStack
80 public event RequestMapBlocks OnRequestMapBlocks; 80 public event RequestMapBlocks OnRequestMapBlocks;
81 public event TeleportLocationRequest OnTeleportLocationRequest; 81 public event TeleportLocationRequest OnTeleportLocationRequest;
82 public event DisconnectUser OnDisconnectUser; 82 public event DisconnectUser OnDisconnectUser;
83 public event RequestAvatarProperties OnRequestAvatarProperties;
83 84
84 public event CreateNewInventoryItem OnCreateNewInventoryItem; 85 public event CreateNewInventoryItem OnCreateNewInventoryItem;
85 public event CreateInventoryFolder OnCreateNewInventoryFolder; 86 public event CreateInventoryFolder OnCreateNewInventoryFolder;
@@ -735,7 +736,6 @@ namespace OpenSim.Region.ClientStack
735 int sunPhase = (phase + 2) / 2; 736 int sunPhase = (phase + 2) / 2;
736 if ((sunPhase < 12) || (sunPhase > 36)) 737 if ((sunPhase < 12) || (sunPhase > 36))
737 { 738 {
738
739 viewertime.TimeInfo.SunDirection = new LLVector3(0f, 0.8f, -0.8f); 739 viewertime.TimeInfo.SunDirection = new LLVector3(0f, 0.8f, -0.8f);
740 //Console.WriteLine("sending night"); 740 //Console.WriteLine("sending night");
741 } 741 }
@@ -759,6 +759,22 @@ namespace OpenSim.Region.ClientStack
759 OutPacket(viewertime); 759 OutPacket(viewertime);
760 } 760 }
761 761
762 public void SendAvatarProperties(LLUUID avatarID, string aboutText, string bornOn, string charterMember, string flAbout, uint flags, LLUUID flImageID, LLUUID imageID, string profileURL, LLUUID partnerID)
763 {
764 AvatarPropertiesReplyPacket avatarReply = new AvatarPropertiesReplyPacket();
765 avatarReply.AgentData.AgentID = this.AgentID;
766 avatarReply.AgentData.AvatarID = avatarID;
767 avatarReply.PropertiesData.AboutText = Helpers.StringToField(aboutText);
768 avatarReply.PropertiesData.BornOn = Helpers.StringToField(bornOn);
769 avatarReply.PropertiesData.CharterMember = Helpers.StringToField(charterMember);
770 avatarReply.PropertiesData.FLAboutText = Helpers.StringToField(flAbout);
771 avatarReply.PropertiesData.Flags = 0;
772 avatarReply.PropertiesData.FLImageID = flImageID;
773 avatarReply.PropertiesData.ImageID = imageID;
774 avatarReply.PropertiesData.ProfileURL = Helpers.StringToField(profileURL);
775 avatarReply.PropertiesData.PartnerID = partnerID;
776 OutPacket(avatarReply);
777 }
762 #endregion 778 #endregion
763 779
764 #region Appearance/ Wearables Methods 780 #region Appearance/ Wearables Methods