diff options
author | Justin Clark-Casey (justincc) | 2013-08-20 18:41:09 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-08-20 18:41:09 +0100 |
commit | a3e1b278a1d82e231f85bf0bf181ed79bbdaa7f2 (patch) | |
tree | ab031752a9ab84a0a89cb5d6e6d9f617c6304fa8 /OpenSim/Tools/pCampBot/Bot.cs | |
parent | Add --regex options to "sit user name" and "stand user name" console commands... (diff) | |
download | opensim-SC_OLD-a3e1b278a1d82e231f85bf0bf181ed79bbdaa7f2.zip opensim-SC_OLD-a3e1b278a1d82e231f85bf0bf181ed79bbdaa7f2.tar.gz opensim-SC_OLD-a3e1b278a1d82e231f85bf0bf181ed79bbdaa7f2.tar.bz2 opensim-SC_OLD-a3e1b278a1d82e231f85bf0bf181ed79bbdaa7f2.tar.xz |
Add pCampbot "show bot" console command to show more detailed information on a particular bot (e.g. what sims they are connected to)
Diffstat (limited to 'OpenSim/Tools/pCampBot/Bot.cs')
-rw-r--r-- | OpenSim/Tools/pCampBot/Bot.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/Bot.cs b/OpenSim/Tools/pCampBot/Bot.cs index 27c086e..d418288 100644 --- a/OpenSim/Tools/pCampBot/Bot.cs +++ b/OpenSim/Tools/pCampBot/Bot.cs | |||
@@ -97,11 +97,20 @@ namespace pCampBot | |||
97 | /// </summary> | 97 | /// </summary> |
98 | public ConnectionState ConnectionState { get; private set; } | 98 | public ConnectionState ConnectionState { get; private set; } |
99 | 99 | ||
100 | public List<Simulator> Simulators | ||
101 | { | ||
102 | get | ||
103 | { | ||
104 | lock (Client.Network.Simulators) | ||
105 | return new List<Simulator>(Client.Network.Simulators); | ||
106 | } | ||
107 | } | ||
108 | |||
100 | /// <summary> | 109 | /// <summary> |
101 | /// The number of connections that this bot has to different simulators. | 110 | /// The number of connections that this bot has to different simulators. |
102 | /// </summary> | 111 | /// </summary> |
103 | /// <value>Includes both root and child connections.</value> | 112 | /// <value>Includes both root and child connections.</value> |
104 | public int ConnectionsCount | 113 | public int SimulatorsCount |
105 | { | 114 | { |
106 | get | 115 | get |
107 | { | 116 | { |