mirror of
https://github.com/kcozens/OpenSimProfile.git
synced 2026-08-14 00:57:50 +00:00
Whitespace changes.
This commit is contained in:
@@ -758,6 +758,7 @@ namespace OpenSimProfile.Modules.OpenProfile
|
||||
Hashtable d = (Hashtable)dataArray[0];
|
||||
return d;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -842,56 +843,55 @@ namespace OpenSimProfile.Modules.OpenProfile
|
||||
}
|
||||
}
|
||||
|
||||
Hashtable profileData = GetProfileData(avatarID);
|
||||
string profileUrl = string.Empty;
|
||||
string aboutText = String.Empty;
|
||||
string firstLifeAboutText = String.Empty;
|
||||
UUID image = UUID.Zero;
|
||||
UUID firstLifeImage = UUID.Zero;
|
||||
UUID partner = UUID.Zero;
|
||||
uint wantMask = 0;
|
||||
string wantText = String.Empty;
|
||||
uint skillsMask = 0;
|
||||
string skillsText = String.Empty;
|
||||
string languages = String.Empty;
|
||||
Hashtable profileData = GetProfileData(avatarID);
|
||||
string profileUrl = string.Empty;
|
||||
string aboutText = String.Empty;
|
||||
string firstLifeAboutText = String.Empty;
|
||||
UUID image = UUID.Zero;
|
||||
UUID firstLifeImage = UUID.Zero;
|
||||
UUID partner = UUID.Zero;
|
||||
uint wantMask = 0;
|
||||
string wantText = String.Empty;
|
||||
uint skillsMask = 0;
|
||||
string skillsText = String.Empty;
|
||||
string languages = String.Empty;
|
||||
|
||||
if (profileData["ProfileUrl"] != null)
|
||||
profileUrl = profileData["ProfileUrl"].ToString();
|
||||
if (profileData["AboutText"] != null)
|
||||
aboutText = profileData["AboutText"].ToString();
|
||||
if (profileData["FirstLifeAboutText"] != null)
|
||||
firstLifeAboutText = profileData["FirstLifeAboutText"].ToString();
|
||||
if (profileData["Image"] != null)
|
||||
image = new UUID(profileData["Image"].ToString());
|
||||
if (profileData["FirstLifeImage"] != null)
|
||||
firstLifeImage = new UUID(profileData["FirstLifeImage"].ToString());
|
||||
if (profileData["Partner"] != null)
|
||||
partner = new UUID(profileData["Partner"].ToString());
|
||||
if (profileData["ProfileUrl"] != null)
|
||||
profileUrl = profileData["ProfileUrl"].ToString();
|
||||
if (profileData["AboutText"] != null)
|
||||
aboutText = profileData["AboutText"].ToString();
|
||||
if (profileData["FirstLifeAboutText"] != null)
|
||||
firstLifeAboutText = profileData["FirstLifeAboutText"].ToString();
|
||||
if (profileData["Image"] != null)
|
||||
image = new UUID(profileData["Image"].ToString());
|
||||
if (profileData["FirstLifeImage"] != null)
|
||||
firstLifeImage = new UUID(profileData["FirstLifeImage"].ToString());
|
||||
if (profileData["Partner"] != null)
|
||||
partner = new UUID(profileData["Partner"].ToString());
|
||||
|
||||
// The PROFILE information is no longer stored in the user
|
||||
// account. It now needs to be taken from the XMLRPC
|
||||
//
|
||||
remoteClient.SendAvatarProperties(avatarID, aboutText,born,
|
||||
charterMember, firstLifeAboutText,
|
||||
flags,
|
||||
firstLifeImage, image, profileUrl, partner);
|
||||
// The PROFILE information is no longer stored in the user
|
||||
// account. It now needs to be taken from the XMLRPC
|
||||
//
|
||||
remoteClient.SendAvatarProperties(avatarID, aboutText,born,
|
||||
charterMember, firstLifeAboutText, flags,
|
||||
firstLifeImage, image, profileUrl, partner);
|
||||
|
||||
//Viewer expects interest data when it asks for properties.
|
||||
if (profileData["wantmask"] != null)
|
||||
wantMask = Convert.ToUInt32(profileData["wantmask"].ToString());
|
||||
if (profileData["wanttext"] != null)
|
||||
wantText = profileData["wanttext"].ToString();
|
||||
//Viewer expects interest data when it asks for properties.
|
||||
if (profileData["wantmask"] != null)
|
||||
wantMask = Convert.ToUInt32(profileData["wantmask"].ToString());
|
||||
if (profileData["wanttext"] != null)
|
||||
wantText = profileData["wanttext"].ToString();
|
||||
|
||||
if (profileData["skillsmask"] != null)
|
||||
skillsMask = Convert.ToUInt32(profileData["skillsmask"].ToString());
|
||||
if (profileData["skillstext"] != null)
|
||||
skillsText = profileData["skillstext"].ToString();
|
||||
if (profileData["skillsmask"] != null)
|
||||
skillsMask = Convert.ToUInt32(profileData["skillsmask"].ToString());
|
||||
if (profileData["skillstext"] != null)
|
||||
skillsText = profileData["skillstext"].ToString();
|
||||
|
||||
if (profileData["languages"] != null)
|
||||
languages = profileData["languages"].ToString();
|
||||
if (profileData["languages"] != null)
|
||||
languages = profileData["languages"].ToString();
|
||||
|
||||
remoteClient.SendAvatarInterestsReply(avatarID, wantMask, wantText,
|
||||
skillsMask, skillsText, languages);
|
||||
remoteClient.SendAvatarInterestsReply(avatarID, wantMask, wantText,
|
||||
skillsMask, skillsText, languages);
|
||||
}
|
||||
|
||||
public void UpdateAvatarProperties(IClientAPI remoteClient, UserProfileData newProfile)
|
||||
|
||||
Reference in New Issue
Block a user