diff options
author | Jeff Ames | 2008-08-18 00:39:10 +0000 |
---|---|---|
committer | Jeff Ames | 2008-08-18 00:39:10 +0000 |
commit | 6ef9d4da901a346c232458317cca6268da888e2e (patch) | |
tree | dd1d935b10f34f261839da9f9879c02322e8ede7 /OpenSim/Framework/Console/ConsolePluginCommand.cs | |
parent | Update svn properties, minor formatting cleanup. (diff) | |
download | opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.zip opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.tar.gz opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.tar.bz2 opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.tar.xz |
Formatting cleanup.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Console/ConsolePluginCommand.cs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Framework/Console/ConsolePluginCommand.cs b/OpenSim/Framework/Console/ConsolePluginCommand.cs index b3f1c93..bf70645 100644 --- a/OpenSim/Framework/Console/ConsolePluginCommand.cs +++ b/OpenSim/Framework/Console/ConsolePluginCommand.cs | |||
@@ -30,10 +30,10 @@ using System; | |||
30 | namespace OpenSim.Framework.Console | 30 | namespace OpenSim.Framework.Console |
31 | { | 31 | { |
32 | public delegate void ConsoleCommand(string[] comParams); | 32 | public delegate void ConsoleCommand(string[] comParams); |
33 | 33 | ||
34 | /// <summary> | 34 | /// <summary> |
35 | /// Holder object for a new console plugin command | 35 | /// Holder object for a new console plugin command |
36 | /// | 36 | /// |
37 | /// Override the methods like Run and IsHelpfull (but the defaults might work ok.) | 37 | /// Override the methods like Run and IsHelpfull (but the defaults might work ok.) |
38 | /// </summary> | 38 | /// </summary> |
39 | public class ConsolePluginCommand | 39 | public class ConsolePluginCommand |
@@ -52,10 +52,10 @@ namespace OpenSim.Framework.Console | |||
52 | private string[] m_cmdText; | 52 | private string[] m_cmdText; |
53 | 53 | ||
54 | /// <summary> | 54 | /// <summary> |
55 | /// Construct a new ConsolePluginCommand | 55 | /// Construct a new ConsolePluginCommand |
56 | /// | 56 | /// |
57 | /// for use with OpenSim.RegisterConsolePluginCommand(myCmd); | 57 | /// for use with OpenSim.RegisterConsolePluginCommand(myCmd); |
58 | /// | 58 | /// |
59 | /// </summary> | 59 | /// </summary> |
60 | /// <param name="command">in the form of "showme new commands"</param> | 60 | /// <param name="command">in the form of "showme new commands"</param> |
61 | /// <param name="dlg">ommand delegate used in running</param> | 61 | /// <param name="dlg">ommand delegate used in running</param> |
@@ -68,13 +68,13 @@ namespace OpenSim.Framework.Console | |||
68 | } | 68 | } |
69 | 69 | ||
70 | /// <summary> | 70 | /// <summary> |
71 | /// Returns the match length this command has upon the 'cmdWithParams' | 71 | /// Returns the match length this command has upon the 'cmdWithParams' |
72 | /// At least a higher number for "show plugin status" then "show" would return | 72 | /// At least a higher number for "show plugin status" then "show" would return |
73 | /// This is used to have multi length command verbs | 73 | /// This is used to have multi length command verbs |
74 | /// | 74 | /// |
75 | /// @see OopenSim.RunPluginCommands | 75 | /// @see OopenSim.RunPluginCommands |
76 | /// It will only run the one with the highest number | 76 | /// It will only run the one with the highest number |
77 | /// | 77 | /// |
78 | /// </summary> | 78 | /// </summary> |
79 | public int matchLength(string cmdWithParams) | 79 | public int matchLength(string cmdWithParams) |
80 | { | 80 | { |
@@ -106,8 +106,8 @@ namespace OpenSim.Framework.Console | |||
106 | } | 106 | } |
107 | currentParam++; | 107 | currentParam++; |
108 | } | 108 | } |
109 | 109 | ||
110 | } | 110 | } |
111 | string[] sendCmdParams = cmdParams; | 111 | string[] sendCmdParams = cmdParams; |
112 | if (skipParams > 0) | 112 | if (skipParams > 0) |
113 | { | 113 | { |