diff options
author | Melanie Thielker | 2008-08-15 19:19:24 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-08-15 19:19:24 +0000 |
commit | 72b8c1af1c8632b6888ebc13000cede0fced0994 (patch) | |
tree | 74a118e7f7db3895dc5eaf021ea81e2c0b5d2d18 /OpenSim/Region/ClientStack | |
parent | Mantis #1951 (diff) | |
download | opensim-SC_OLD-72b8c1af1c8632b6888ebc13000cede0fced0994.zip opensim-SC_OLD-72b8c1af1c8632b6888ebc13000cede0fced0994.tar.gz opensim-SC_OLD-72b8c1af1c8632b6888ebc13000cede0fced0994.tar.bz2 opensim-SC_OLD-72b8c1af1c8632b6888ebc13000cede0fced0994.tar.xz |
Plumb the user flags all the way through to the profile. userFlags in
the database is now intepreted as follows: low byte = user flags.
Next byte, low nibble: Deternines the text (Resident, Lifetime, etc)
shown. No customn text support yet.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 212567f..8e35881 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -2041,7 +2041,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2041 | */ | 2041 | */ |
2042 | } | 2042 | } |
2043 | 2043 | ||
2044 | public void SendAvatarProperties(LLUUID avatarID, string aboutText, string bornOn, string charterMember, | 2044 | public void SendAvatarProperties(LLUUID avatarID, string aboutText, string bornOn, Byte[] charterMember, |
2045 | string flAbout, uint flags, LLUUID flImageID, LLUUID imageID, string profileURL, | 2045 | string flAbout, uint flags, LLUUID flImageID, LLUUID imageID, string profileURL, |
2046 | LLUUID partnerID) | 2046 | LLUUID partnerID) |
2047 | { | 2047 | { |
@@ -2053,12 +2053,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2053 | else | 2053 | else |
2054 | avatarReply.PropertiesData.AboutText = Helpers.StringToField(""); | 2054 | avatarReply.PropertiesData.AboutText = Helpers.StringToField(""); |
2055 | avatarReply.PropertiesData.BornOn = Helpers.StringToField(bornOn); | 2055 | avatarReply.PropertiesData.BornOn = Helpers.StringToField(bornOn); |
2056 | avatarReply.PropertiesData.CharterMember = Helpers.StringToField(charterMember); | 2056 | avatarReply.PropertiesData.CharterMember = charterMember; |
2057 | if (flAbout != null) | 2057 | if (flAbout != null) |
2058 | avatarReply.PropertiesData.FLAboutText = Helpers.StringToField(flAbout); | 2058 | avatarReply.PropertiesData.FLAboutText = Helpers.StringToField(flAbout); |
2059 | else | 2059 | else |
2060 | avatarReply.PropertiesData.FLAboutText = Helpers.StringToField(""); | 2060 | avatarReply.PropertiesData.FLAboutText = Helpers.StringToField(""); |
2061 | avatarReply.PropertiesData.Flags = 0; | 2061 | avatarReply.PropertiesData.Flags = flags; |
2062 | avatarReply.PropertiesData.FLImageID = flImageID; | 2062 | avatarReply.PropertiesData.FLImageID = flImageID; |
2063 | avatarReply.PropertiesData.ImageID = imageID; | 2063 | avatarReply.PropertiesData.ImageID = imageID; |
2064 | avatarReply.PropertiesData.ProfileURL = Helpers.StringToField(profileURL); | 2064 | avatarReply.PropertiesData.ProfileURL = Helpers.StringToField(profileURL); |