Merge pull request #841 from nolt/bot-behaviour
Make the server-side bots hold up as a population (cherry picked from commit 88535b63a958fee9803d5fc3a4bdac5a3318d221)
This commit is contained in:
@@ -29,6 +29,12 @@ public sealed class BotManager
|
||||
/// </summary>
|
||||
public IReadOnlyCollection<BotPlayer> Bots => this._bots.Values.ToList();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the number of currently active bots, without taking a snapshot of them - the periodic task
|
||||
/// asks every second whether there is anything to stop.
|
||||
/// </summary>
|
||||
public int BotCount => this._bots.Count;
|
||||
|
||||
/// <summary>
|
||||
/// Spawns a bot which drives a specific character of the given account.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user