diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSimBase.cs | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 69bb4d8..16cf5f3 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs | |||
@@ -48,7 +48,6 @@ using OpenSim.Region.Environment; | |||
48 | using OpenSim.Region.Environment.Interfaces; | 48 | using OpenSim.Region.Environment.Interfaces; |
49 | using OpenSim.Region.Environment.Scenes; | 49 | using OpenSim.Region.Environment.Scenes; |
50 | using OpenSim.Region.Physics.Manager; | 50 | using OpenSim.Region.Physics.Manager; |
51 | using OpenSim.Region.Environment.Modules.Avatar.Inventory.Archiver; | ||
52 | 51 | ||
53 | namespace OpenSim | 52 | namespace OpenSim |
54 | { | 53 | { |
@@ -686,52 +685,6 @@ namespace OpenSim | |||
686 | #endregion | 685 | #endregion |
687 | 686 | ||
688 | /// <summary> | 687 | /// <summary> |
689 | /// Save inventory to a file archive | ||
690 | /// </summary> | ||
691 | /// <param name="cmdparams"></param> | ||
692 | protected void SaveInv(string[] cmdparams) | ||
693 | { | ||
694 | m_log.Error("[CONSOLE]: This command has not yet been implemented!"); | ||
695 | if (cmdparams.Length < 3) | ||
696 | { | ||
697 | m_log.Error("[CONSOLE]: usage is save-inv <first name> <last name> <inventory path> [<save file path>]"); | ||
698 | return; | ||
699 | } | ||
700 | |||
701 | string firstName = cmdparams[0]; | ||
702 | string lastName = cmdparams[1]; | ||
703 | string invPath = cmdparams[2]; | ||
704 | string savePath = (cmdparams.Length > 3 ? cmdparams[3] : DEFAULT_INV_BACKUP_FILENAME); | ||
705 | |||
706 | new InventoryArchiveWriteRequest( | ||
707 | m_sceneManager.CurrentOrFirstScene,m_commsManager).execute( | ||
708 | firstName, lastName, invPath, savePath); | ||
709 | } | ||
710 | |||
711 | /// <summary> | ||
712 | /// Load inventory from an inventory file archive | ||
713 | /// </summary> | ||
714 | /// <param name="cmdparams"></param> | ||
715 | protected void LoadInv(string[] cmdparams) | ||
716 | { | ||
717 | m_log.Error("[CONSOLE]: This command has not yet been implemented!"); | ||
718 | if (cmdparams.Length < 3) | ||
719 | { | ||
720 | m_log.Error("[CONSOLE]: usage is load-inv <first name> <last name> <inventory path> [<load file path>]"); | ||
721 | return; | ||
722 | } | ||
723 | |||
724 | string firstName = cmdparams[0]; | ||
725 | string lastName = cmdparams[1]; | ||
726 | string invPath = cmdparams[2]; | ||
727 | string loadPath = (cmdparams.Length > 3 ? cmdparams[3] : DEFAULT_INV_BACKUP_FILENAME); | ||
728 | |||
729 | new InventoryArchiveReadRequest( | ||
730 | m_sceneManager.CurrentOrFirstScene, m_commsManager).execute( | ||
731 | firstName, lastName, invPath, loadPath); | ||
732 | } | ||
733 | |||
734 | /// <summary> | ||
735 | /// Performs any last-minute sanity checking and shuts down the region server | 688 | /// Performs any last-minute sanity checking and shuts down the region server |
736 | /// </summary> | 689 | /// </summary> |
737 | protected override void ShutdownSpecific() | 690 | protected override void ShutdownSpecific() |