aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Application/OpenSimBase.cs')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index aa641e1..18edeac 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -663,6 +663,32 @@ namespace OpenSim
663 } 663 }
664 664
665 #endregion 665 #endregion
666
667 /// <summary>
668 /// Save inventory to a file.
669 /// </summary>
670 /// <param name="cmdparams"></param>
671 protected void SaveInv(string[] cmdparams)
672 {
673 m_log.Error("[CONSOLE]: This has not been implemented yet!");
674
675 if (cmdparams.Length < 3)
676 {
677 m_log.Error("[CONSOLE]: usage is save-inv <first name> <last name> <inventory path>");
678 return;
679 }
680
681 string firstName = cmdparams[0];
682 string lastName = cmdparams[1];
683 string invPath = cmdparams[2];
684
685 UserProfileData userProfile = m_commsManager.UserService.GetUserProfile(firstName, lastName);
686 if (null == userProfile)
687 {
688 m_log.ErrorFormat("[CONSOLE]: Failed to find user {0} {1}", firstName, lastName);
689 return;
690 }
691 }
666 692
667 /// <summary> 693 /// <summary>
668 /// Performs any last-minute sanity checking and shuts down the region server 694 /// Performs any last-minute sanity checking and shuts down the region server