* Spring cleaning on Region.Environment.

* Converted a large number of read-only fields to be actually, readonly.
* Reformatted code sections.
* Removed redundant code.
This commit is contained in:
Adam Frisby
2008-05-01 16:35:00 +00:00
parent 01f31fd933
commit 13526097f2
76 changed files with 4181 additions and 4314 deletions

View File

@@ -41,4 +41,4 @@ namespace OpenSim.Region.Environment.Interfaces
void RemoveAgentAssetTransactions(LLUUID userID);
}
}
}

View File

@@ -30,9 +30,9 @@ using OpenSim.Region.Environment.Scenes;
namespace OpenSim.Region.Environment.Interfaces
{
public interface IAvatarFactory
public interface IAvatarFactory
{
bool TryGetAvatarAppearance(LLUUID avatarId, out AvatarAppearance appearance);
void UpdateDatabase(LLUUID userID, AvatarAppearance avatAppearance);
}
}
}

View File

@@ -39,4 +39,4 @@ namespace OpenSim.Region.Environment.Interfaces
HttpRequestClass GetNextCompletedRequest();
void RemoveCompletedRequest(LLUUID id);
}
}
}

View File

@@ -70,7 +70,8 @@ namespace OpenSim.Region.Environment.Interfaces
void handleSignificantClientMovement(IClientAPI remote_client);
void handleAnyClientMovement(ScenePresence avatar);
void handleParcelAccessRequest(LLUUID agentID, LLUUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client);
void handleParcelAccessUpdateRequest(LLUUID agentID, LLUUID sessionID, uint flags, int landLocalID, List<ParcelManager.ParcelAccessEntry> entries, IClientAPI remote_client);
void handleParcelAccessUpdateRequest(LLUUID agentID, LLUUID sessionID, uint flags, int landLocalID, List<ParcelManager.ParcelAccessEntry> entries,
IClientAPI remote_client);
}
}
}

View File

@@ -48,7 +48,7 @@ namespace OpenSim.Region.Environment.Interfaces
/// <param name="obj"></param>
/// <param name="regionUUID"></param>
void StoreObject(SceneObjectGroup obj, LLUUID regionUUID);
/// <summary>
/// Entirely removes the object, including inventory
/// </summary>
@@ -56,7 +56,7 @@ namespace OpenSim.Region.Environment.Interfaces
/// <param name="regionUUID"></param>
/// <returns></returns>
void RemoveObject(LLUUID uuid, LLUUID regionUUID);
/// <summary>
/// Store a prim's inventory
/// </summary>
@@ -74,4 +74,4 @@ namespace OpenSim.Region.Environment.Interfaces
void Shutdown();
}
}
}

View File

@@ -32,10 +32,10 @@ namespace OpenSim.Region.Environment.Interfaces
{
public interface IRegionModule
{
string Name { get; }
bool IsSharedModule { get; }
void Initialise(Scene scene, IConfigSource source);
void PostInitialise();
void Close();
string Name { get; }
bool IsSharedModule { get; }
}
}
}

View File

@@ -34,4 +34,4 @@ namespace OpenSim.Region.Environment.Interfaces
{
void SimChat(Object sender, ChatFromViewerArgs e);
}
}
}

View File

@@ -43,4 +43,4 @@ namespace OpenSim.Region.Environment.Interfaces
uint PeekNextMessageLocalID();
LLUUID PeekNextMessageItemID();
}
}
}

View File

@@ -45,4 +45,4 @@ namespace OpenSim.Region.Environment.Interfaces
void RemoveCompletedSRDRequest(LLUUID id);
void CancelSRDRequests(LLUUID itemID);
}
}
}

View File

@@ -31,4 +31,4 @@ namespace OpenSim.Region.Environment.Interfaces
{
bool AddNewFile(string fileName, byte[] data);
}
}
}