diff options
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 | { |