mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Small clean up of files and directories
This commit is contained in:
@@ -106,7 +106,7 @@ namespace OpenSim.Framework.User
|
||||
|
||||
LLUUID AgentID = TheUser.UUID;
|
||||
TheUser.InitSessionData();
|
||||
|
||||
|
||||
//for loading data from a grid server, make any changes in CustomiseResponse() (or create a sub class of this and override that method)
|
||||
//SimProfile SimInfo = new SimProfile();
|
||||
//SimInfo = SimInfo.LoadFromGrid(TheUser.homeregionhandle, GridURL, GridSendKey, GridRecvKey);
|
||||
@@ -140,7 +140,7 @@ namespace OpenSim.Framework.User
|
||||
|
||||
ArrayList AgentInventory = new ArrayList();
|
||||
Console.WriteLine("adding inventory to response");
|
||||
Hashtable TempHash;
|
||||
Hashtable TempHash;
|
||||
foreach (InventoryFolder InvFolder in TheUser.Inventory.InventoryFolders.Values)
|
||||
{
|
||||
TempHash = new Hashtable();
|
||||
@@ -200,7 +200,7 @@ namespace OpenSim.Framework.User
|
||||
|
||||
this.CustomiseResponse(ref responseData, TheUser);
|
||||
response.Value = responseData;
|
||||
// TheUser.SendDataToSim(SimInfo);
|
||||
// TheUser.SendDataToSim(SimInfo);
|
||||
return response;
|
||||
|
||||
}
|
||||
@@ -211,7 +211,7 @@ namespace OpenSim.Framework.User
|
||||
//}
|
||||
}
|
||||
return response;
|
||||
|
||||
|
||||
}
|
||||
|
||||
private static XmlRpcResponse CreateErrorConnectingToGridResponse()
|
||||
@@ -258,9 +258,9 @@ namespace OpenSim.Framework.User
|
||||
SimParams["firstname"] = theUser.firstname;
|
||||
SimParams["lastname"] = theUser.lastname;
|
||||
SimParams["agent_id"] = theUser.UUID.ToString();
|
||||
SimParams["circuit_code"] = (Int32)circode;
|
||||
SimParams["startpos_x"] = theUser.homepos.X.ToString();
|
||||
SimParams["startpos_y"] = theUser.homepos.Y.ToString();
|
||||
SimParams["circuit_code"] = (Int32)circode;
|
||||
SimParams["startpos_x"] = theUser.homepos.X.ToString();
|
||||
SimParams["startpos_y"] = theUser.homepos.Y.ToString();
|
||||
SimParams["startpos_z"] = theUser.homepos.Z.ToString();
|
||||
ArrayList SendParams = new ArrayList();
|
||||
SendParams.Add(SimParams);
|
||||
|
||||
Reference in New Issue
Block a user