diff options
Diffstat (limited to 'ExportBot/ClientManager.cs')
-rw-r--r-- | ExportBot/ClientManager.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ExportBot/ClientManager.cs b/ExportBot/ClientManager.cs index 0e43142..65c01ee 100644 --- a/ExportBot/ClientManager.cs +++ b/ExportBot/ClientManager.cs | |||
@@ -70,6 +70,18 @@ namespace libsecondlife.TestClient | |||
70 | Login(account); | 70 | Login(account); |
71 | } | 71 | } |
72 | } | 72 | } |
73 | |||
74 | public string ExportAvatarRestMethod( string request, string path, string param ) | ||
75 | { | ||
76 | Console.WriteLine("Got a request to export an avatar!"); | ||
77 | Console.WriteLine("Executing cloneprofile " + param); | ||
78 | DoCommandAll("cloneprofile " + param, null, null); | ||
79 | DoCommandAll("say copied avatar, preparing to upload to remote server...", null, null); | ||
80 | return "OK"; | ||
81 | |||
82 | } | ||
83 | |||
84 | |||
73 | /// <summary> | 85 | /// <summary> |
74 | /// | 86 | /// |
75 | /// </summary> | 87 | /// </summary> |