diff options
author | Cinder | 2015-06-12 18:48:07 -0600 |
---|---|---|
committer | Diva Canto | 2015-06-13 07:27:42 -0700 |
commit | 0fa94f222df8ed7f308730c3692bf2a774138718 (patch) | |
tree | 560efc5542dea946a79dbbaebd39b991a67ede73 /OpenSim/Region/Framework/Scenes | |
parent | Relicense AgentPreferences files to BSD and OpenSimulator (diff) | |
download | opensim-SC_OLD-0fa94f222df8ed7f308730c3692bf2a774138718.zip opensim-SC_OLD-0fa94f222df8ed7f308730c3692bf2a774138718.tar.gz opensim-SC_OLD-0fa94f222df8ed7f308730c3692bf2a774138718.tar.bz2 opensim-SC_OLD-0fa94f222df8ed7f308730c3692bf2a774138718.tar.xz |
Refactor AgentPreferences so that database operations happen centrally. the opensim way.
Signed-off-by: Diva Canto <diva@metaverseink.com>
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index c539f1f..23b2e90 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -325,6 +325,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
325 | protected IUserAccountService m_UserAccountService; | 325 | protected IUserAccountService m_UserAccountService; |
326 | protected IAvatarService m_AvatarService; | 326 | protected IAvatarService m_AvatarService; |
327 | protected IGridUserService m_GridUserService; | 327 | protected IGridUserService m_GridUserService; |
328 | protected IAgentPreferencesService m_AgentPreferencesService; | ||
328 | 329 | ||
329 | protected IXMLRPC m_xmlrpcModule; | 330 | protected IXMLRPC m_xmlrpcModule; |
330 | protected IWorldComm m_worldCommModule; | 331 | protected IWorldComm m_worldCommModule; |
@@ -728,6 +729,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
728 | } | 729 | } |
729 | } | 730 | } |
730 | 731 | ||
732 | public IAgentPreferencesService AgentPreferencesService | ||
733 | { | ||
734 | get | ||
735 | { | ||
736 | if (m_AgentPreferencesService == null) | ||
737 | m_AgentPreferencesService = RequestModuleInterface<IAgentPreferencesService>(); | ||
738 | return m_AgentPreferencesService; | ||
739 | } | ||
740 | } | ||
741 | |||
731 | public IAttachmentsModule AttachmentsModule { get; set; } | 742 | public IAttachmentsModule AttachmentsModule { get; set; } |
732 | public IEntityTransferModule EntityTransferModule { get; private set; } | 743 | public IEntityTransferModule EntityTransferModule { get; private set; } |
733 | public IAgentAssetTransactions AgentTransactionsModule { get; private set; } | 744 | public IAgentAssetTransactions AgentTransactionsModule { get; private set; } |