diff options
author | Adam Frisby | 2008-05-01 16:35:00 +0000 |
---|---|---|
committer | Adam Frisby | 2008-05-01 16:35:00 +0000 |
commit | 13526097f24b7a8ad63b1d482c44b44397fa055f (patch) | |
tree | 7a82c20ed7c63e2aea5ad3863325e37f64e1cbea /OpenSim/Region/Environment/Interfaces | |
parent | * Breaking all the code, breaking all the code..! (diff) | |
download | opensim-SC_OLD-13526097f24b7a8ad63b1d482c44b44397fa055f.zip opensim-SC_OLD-13526097f24b7a8ad63b1d482c44b44397fa055f.tar.gz opensim-SC_OLD-13526097f24b7a8ad63b1d482c44b44397fa055f.tar.bz2 opensim-SC_OLD-13526097f24b7a8ad63b1d482c44b44397fa055f.tar.xz |
* Spring cleaning on Region.Environment.
* Converted a large number of read-only fields to be actually, readonly.
* Reformatted code sections.
* Removed redundant code.
Diffstat (limited to '')
10 files changed, 17 insertions, 16 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/IAgentAssetTransactions.cs b/OpenSim/Region/Environment/Interfaces/IAgentAssetTransactions.cs index c099fa1..5d2ec89 100644 --- a/OpenSim/Region/Environment/Interfaces/IAgentAssetTransactions.cs +++ b/OpenSim/Region/Environment/Interfaces/IAgentAssetTransactions.cs | |||
@@ -41,4 +41,4 @@ namespace OpenSim.Region.Environment.Interfaces | |||
41 | 41 | ||
42 | void RemoveAgentAssetTransactions(LLUUID userID); | 42 | void RemoveAgentAssetTransactions(LLUUID userID); |
43 | } | 43 | } |
44 | } | 44 | } \ No newline at end of file |
diff --git a/OpenSim/Region/Environment/Interfaces/IAvatarFactory.cs b/OpenSim/Region/Environment/Interfaces/IAvatarFactory.cs index 3ebbaab..d5473fb 100644 --- a/OpenSim/Region/Environment/Interfaces/IAvatarFactory.cs +++ b/OpenSim/Region/Environment/Interfaces/IAvatarFactory.cs | |||
@@ -30,9 +30,9 @@ using OpenSim.Region.Environment.Scenes; | |||
30 | 30 | ||
31 | namespace OpenSim.Region.Environment.Interfaces | 31 | namespace OpenSim.Region.Environment.Interfaces |
32 | { | 32 | { |
33 | public interface IAvatarFactory | 33 | public interface IAvatarFactory |
34 | { | 34 | { |
35 | bool TryGetAvatarAppearance(LLUUID avatarId, out AvatarAppearance appearance); | 35 | bool TryGetAvatarAppearance(LLUUID avatarId, out AvatarAppearance appearance); |
36 | void UpdateDatabase(LLUUID userID, AvatarAppearance avatAppearance); | 36 | void UpdateDatabase(LLUUID userID, AvatarAppearance avatAppearance); |
37 | } | 37 | } |
38 | } | 38 | } \ No newline at end of file |
diff --git a/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs b/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs index 46ba9b2..8e2c978 100644 --- a/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs +++ b/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs | |||
@@ -39,4 +39,4 @@ namespace OpenSim.Region.Environment.Interfaces | |||
39 | HttpRequestClass GetNextCompletedRequest(); | 39 | HttpRequestClass GetNextCompletedRequest(); |
40 | void RemoveCompletedRequest(LLUUID id); | 40 | void RemoveCompletedRequest(LLUUID id); |
41 | } | 41 | } |
42 | } | 42 | } \ No newline at end of file |
diff --git a/OpenSim/Region/Environment/Interfaces/ILandChannel.cs b/OpenSim/Region/Environment/Interfaces/ILandChannel.cs index 464a213..8486f70 100644 --- a/OpenSim/Region/Environment/Interfaces/ILandChannel.cs +++ b/OpenSim/Region/Environment/Interfaces/ILandChannel.cs | |||
@@ -70,7 +70,8 @@ namespace OpenSim.Region.Environment.Interfaces | |||
70 | void handleSignificantClientMovement(IClientAPI remote_client); | 70 | void handleSignificantClientMovement(IClientAPI remote_client); |
71 | void handleAnyClientMovement(ScenePresence avatar); | 71 | void handleAnyClientMovement(ScenePresence avatar); |
72 | void handleParcelAccessRequest(LLUUID agentID, LLUUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client); | 72 | void handleParcelAccessRequest(LLUUID agentID, LLUUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client); |
73 | void handleParcelAccessUpdateRequest(LLUUID agentID, LLUUID sessionID, uint flags, int landLocalID, List<ParcelManager.ParcelAccessEntry> entries, IClientAPI remote_client); | ||
74 | 73 | ||
74 | void handleParcelAccessUpdateRequest(LLUUID agentID, LLUUID sessionID, uint flags, int landLocalID, List<ParcelManager.ParcelAccessEntry> entries, | ||
75 | IClientAPI remote_client); | ||
75 | } | 76 | } |
76 | } | 77 | } \ No newline at end of file |
diff --git a/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs b/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs index c757461..e7af0a9 100644 --- a/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs +++ b/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs | |||
@@ -48,7 +48,7 @@ namespace OpenSim.Region.Environment.Interfaces | |||
48 | /// <param name="obj"></param> | 48 | /// <param name="obj"></param> |
49 | /// <param name="regionUUID"></param> | 49 | /// <param name="regionUUID"></param> |
50 | void StoreObject(SceneObjectGroup obj, LLUUID regionUUID); | 50 | void StoreObject(SceneObjectGroup obj, LLUUID regionUUID); |
51 | 51 | ||
52 | /// <summary> | 52 | /// <summary> |
53 | /// Entirely removes the object, including inventory | 53 | /// Entirely removes the object, including inventory |
54 | /// </summary> | 54 | /// </summary> |
@@ -56,7 +56,7 @@ namespace OpenSim.Region.Environment.Interfaces | |||
56 | /// <param name="regionUUID"></param> | 56 | /// <param name="regionUUID"></param> |
57 | /// <returns></returns> | 57 | /// <returns></returns> |
58 | void RemoveObject(LLUUID uuid, LLUUID regionUUID); | 58 | void RemoveObject(LLUUID uuid, LLUUID regionUUID); |
59 | 59 | ||
60 | /// <summary> | 60 | /// <summary> |
61 | /// Store a prim's inventory | 61 | /// Store a prim's inventory |
62 | /// </summary> | 62 | /// </summary> |
@@ -74,4 +74,4 @@ namespace OpenSim.Region.Environment.Interfaces | |||
74 | 74 | ||
75 | void Shutdown(); | 75 | void Shutdown(); |
76 | } | 76 | } |
77 | } | 77 | } \ No newline at end of file |
diff --git a/OpenSim/Region/Environment/Interfaces/IRegionModule.cs b/OpenSim/Region/Environment/Interfaces/IRegionModule.cs index ffa4f32..80698d5 100644 --- a/OpenSim/Region/Environment/Interfaces/IRegionModule.cs +++ b/OpenSim/Region/Environment/Interfaces/IRegionModule.cs | |||
@@ -32,10 +32,10 @@ namespace OpenSim.Region.Environment.Interfaces | |||
32 | { | 32 | { |
33 | public interface IRegionModule | 33 | public interface IRegionModule |
34 | { | 34 | { |
35 | string Name { get; } | ||
36 | bool IsSharedModule { get; } | ||
35 | void Initialise(Scene scene, IConfigSource source); | 37 | void Initialise(Scene scene, IConfigSource source); |
36 | void PostInitialise(); | 38 | void PostInitialise(); |
37 | void Close(); | 39 | void Close(); |
38 | string Name { get; } | ||
39 | bool IsSharedModule { get; } | ||
40 | } | 40 | } |
41 | } | 41 | } \ No newline at end of file |
diff --git a/OpenSim/Region/Environment/Interfaces/ISimChat.cs b/OpenSim/Region/Environment/Interfaces/ISimChat.cs index d52e58b..9335b00 100644 --- a/OpenSim/Region/Environment/Interfaces/ISimChat.cs +++ b/OpenSim/Region/Environment/Interfaces/ISimChat.cs | |||
@@ -34,4 +34,4 @@ namespace OpenSim.Region.Environment.Interfaces | |||
34 | { | 34 | { |
35 | void SimChat(Object sender, ChatFromViewerArgs e); | 35 | void SimChat(Object sender, ChatFromViewerArgs e); |
36 | } | 36 | } |
37 | } | 37 | } \ No newline at end of file |
diff --git a/OpenSim/Region/Environment/Interfaces/IWorldComm.cs b/OpenSim/Region/Environment/Interfaces/IWorldComm.cs index 8a63c54..992db19 100644 --- a/OpenSim/Region/Environment/Interfaces/IWorldComm.cs +++ b/OpenSim/Region/Environment/Interfaces/IWorldComm.cs | |||
@@ -43,4 +43,4 @@ namespace OpenSim.Region.Environment.Interfaces | |||
43 | uint PeekNextMessageLocalID(); | 43 | uint PeekNextMessageLocalID(); |
44 | LLUUID PeekNextMessageItemID(); | 44 | LLUUID PeekNextMessageItemID(); |
45 | } | 45 | } |
46 | } | 46 | } \ No newline at end of file |
diff --git a/OpenSim/Region/Environment/Interfaces/IXMLRPC.cs b/OpenSim/Region/Environment/Interfaces/IXMLRPC.cs index 6c1d025..959b0b7 100644 --- a/OpenSim/Region/Environment/Interfaces/IXMLRPC.cs +++ b/OpenSim/Region/Environment/Interfaces/IXMLRPC.cs | |||
@@ -45,4 +45,4 @@ namespace OpenSim.Region.Environment.Interfaces | |||
45 | void RemoveCompletedSRDRequest(LLUUID id); | 45 | void RemoveCompletedSRDRequest(LLUUID id); |
46 | void CancelSRDRequests(LLUUID itemID); | 46 | void CancelSRDRequests(LLUUID itemID); |
47 | } | 47 | } |
48 | } | 48 | } \ No newline at end of file |
diff --git a/OpenSim/Region/Environment/Interfaces/IXfer.cs b/OpenSim/Region/Environment/Interfaces/IXfer.cs index bad1833..bb2caca 100644 --- a/OpenSim/Region/Environment/Interfaces/IXfer.cs +++ b/OpenSim/Region/Environment/Interfaces/IXfer.cs | |||
@@ -31,4 +31,4 @@ namespace OpenSim.Region.Environment.Interfaces | |||
31 | { | 31 | { |
32 | bool AddNewFile(string fileName, byte[] data); | 32 | bool AddNewFile(string fileName, byte[] data); |
33 | } | 33 | } |
34 | } | 34 | } \ No newline at end of file |