aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Communications/OGS1/OGS1UserServices.cs')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1UserServices.cs26
1 files changed, 25 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs
index 36ab4bb..2cf3665 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs
@@ -130,7 +130,31 @@ namespace OpenSim.Region.Communications.OGS1
130 130
131 return buddylist; 131 return buddylist;
132 } 132 }
133 133
134 /// <summary>
135 /// Logs off a user on the user server
136 /// </summary>
137 /// <param name="UserID">UUID of the user</param>
138 /// <param name="regionData">UUID of the Region</param>
139 /// <param name="posx">final position x</param>
140 /// <param name="posy">final position y</param>
141 /// <param name="posz">final position z</param>
142 public void LogOffUser(LLUUID userid, LLUUID regionid, ulong regionhandle, float posx, float posy, float posz)
143 {
144 Hashtable param = new Hashtable();
145 param["avatar_uuid"] = userid.UUID.ToString();
146 param["region_uuid"] = regionid.UUID.ToString();
147 param["region_handle"] = regionhandle.ToString();
148 param["region_pos_x"] = posx.ToString();
149 param["region_pos_y"] = posy.ToString();
150 param["region_pos_z"] = posz.ToString();
151
152 IList parameters = new ArrayList();
153 parameters.Add(param);
154 XmlRpcRequest req = new XmlRpcRequest("logout_of_simulator", parameters);
155 XmlRpcResponse resp = req.Send(m_parent.NetworkServersInfo.UserURL, 3000);
156
157 }
134 public UserProfileData GetUserProfile(string firstName, string lastName) 158 public UserProfileData GetUserProfile(string firstName, string lastName)
135 { 159 {
136 return GetUserProfile(firstName + " " + lastName); 160 return GetUserProfile(firstName + " " + lastName);