mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
Update svn properties, formatting cleanup.
This commit is contained in:
@@ -6,11 +6,11 @@ namespace OpenSim.Framework.Communications.Cache
|
||||
public class FileAssetClient : AssetServerBase
|
||||
{
|
||||
private readonly string m_dir;
|
||||
private readonly XmlSerializer m_xs = new XmlSerializer(typeof(AssetBase));
|
||||
private readonly XmlSerializer m_xs = new XmlSerializer(typeof(AssetBase));
|
||||
|
||||
public FileAssetClient(string dir)
|
||||
{
|
||||
if(!Directory.Exists(dir))
|
||||
if (!Directory.Exists(dir))
|
||||
{
|
||||
Directory.CreateDirectory(dir);
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ namespace OpenSim.Framework.Communications
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Customises the login response and fills in missing values. This method also tells the login region to
|
||||
/// Customises the login response and fills in missing values. This method also tells the login region to
|
||||
/// expect a client connection.
|
||||
/// </summary>
|
||||
/// <param name="response">The existing response</param>
|
||||
@@ -89,7 +89,7 @@ namespace OpenSim.Framework.Communications
|
||||
public virtual void LogOffUser(UserProfileData theUser, string message)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Get the initial login inventory skeleton (in other words, the folder structure) for the given user.
|
||||
/// </summary>
|
||||
@@ -298,7 +298,7 @@ namespace OpenSim.Framework.Communications
|
||||
m_log.DebugFormat(
|
||||
"[LOGIN END]: XMLRPC Authentication of user {0} {1} successful. Sending response to client.",
|
||||
firstname, lastname);
|
||||
|
||||
|
||||
return logResponse.ToXmlRpcResponse();
|
||||
}
|
||||
else
|
||||
|
||||
@@ -325,7 +325,7 @@ namespace OpenSim.Framework
|
||||
|
||||
ulong ActiveGroupPowers { get; }
|
||||
|
||||
ulong GetGroupPowers(UUID groupID);
|
||||
ulong GetGroupPowers(UUID groupID);
|
||||
|
||||
string FirstName { get; }
|
||||
|
||||
|
||||
@@ -737,11 +737,11 @@ namespace OpenSim.Framework
|
||||
/// The extracted ulong
|
||||
/// </returns>
|
||||
public static ulong BytesToUInt64Big(byte[] bytes) {
|
||||
if(bytes.Length < 8) return 0;
|
||||
if (bytes.Length < 8) return 0;
|
||||
return ((ulong)bytes[0] << 56) | ((ulong)bytes[1] << 48) | ((ulong)bytes[2] << 40) | ((ulong)bytes[3] << 32) |
|
||||
((ulong)bytes[4] << 24) | ((ulong)bytes[5] << 16) | ((ulong)bytes[6] << 8) | (ulong)bytes[7];
|
||||
}
|
||||
|
||||
|
||||
// used for RemoteParcelRequest (for "About Landmark")
|
||||
public static UUID BuildFakeParcelID(ulong regionHandle, uint x, uint y) {
|
||||
byte[] bytes = {
|
||||
|
||||
Reference in New Issue
Block a user