Thread/Bot manager for the application
More...
|
| BotManager () |
| Constructor Creates MainConsole.Instance to take commands and provide the place to write data More...
|
|
void | CreateBots (int botcount, IConfig startupConfig) |
| Startup number of bots specified in the starting arguments More...
|
|
void | ConnectBots (int botcount) |
|
void | CreateBot (BotManager bm, List< IBehaviour > behaviours, string firstName, string lastName, string password, string loginUri, string startLocation, string wearSetting) |
| This creates a bot but does not start it. More...
|
|
Thread/Bot manager for the application
Definition at line 57 of file BotManager.cs.
pCampBot.BotManager.BotManager |
( |
| ) |
|
|
inline |
Constructor Creates MainConsole.Instance to take commands and provide the place to write data
Definition at line 162 of file BotManager.cs.
void pCampBot.BotManager.ConnectBots |
( |
int |
botcount | ) |
|
|
inline |
void pCampBot.BotManager.CreateBot |
( |
BotManager |
bm, |
|
|
List< IBehaviour > |
behaviours, |
|
|
string |
firstName, |
|
|
string |
lastName, |
|
|
string |
password, |
|
|
string |
loginUri, |
|
|
string |
startLocation, |
|
|
string |
wearSetting |
|
) |
| |
|
inline |
This creates a bot but does not start it.
- Parameters
-
bm | |
behaviours | Behaviours for this bot to perform. |
firstName | First name |
lastName | Last name |
password | Password |
loginUri | Login URI |
startLocation | Location to start the bot. Can be "last", "home" or a specific sim name. |
wearSetting | |
Definition at line 485 of file BotManager.cs.
void pCampBot.BotManager.CreateBots |
( |
int |
botcount, |
|
|
IConfig |
startupConfig |
|
) |
| |
|
inline |
Startup number of bots specified in the starting arguments
- Parameters
-
botcount | How many bots to start up |
cs | The configuration for the bots to use |
Definition at line 287 of file BotManager.cs.
Standard CreateConsole routine
- Returns
Definition at line 531 of file BotManager.cs.
const int pCampBot.BotManager.DefaultLoginDelay = 5000 |
List<Bot> pCampBot.BotManager.m_bots |
|
protected |
Created bots, whether active or inactive.
Definition at line 97 of file BotManager.cs.
Dictionary<UUID, bool> pCampBot.BotManager.AssetsReceived |
|
getset |
Track the assets we have and have not received so we don't endlessly repeat requests.
Definition at line 107 of file BotManager.cs.
Is pCampbot ready to connect or currently in the process of connecting or disconnecting bots?
Definition at line 66 of file BotManager.cs.
bool pCampBot.BotManager.InitBotRequestObjectTextures |
|
getset |
Controls whether bots request textures for the object information they receive
Definition at line 92 of file BotManager.cs.
bool pCampBot.BotManager.InitBotSendAgentUpdates |
|
getset |
Controls whether bots start out sending agent updates on connection.
Definition at line 87 of file BotManager.cs.
int pCampBot.BotManager.LoginDelay |
|
getset |
Delay between logins of multiple bots.
TODO: This value needs to be configurable by a command line argument.
Definition at line 77 of file BotManager.cs.
Dictionary<ulong, GridRegion> pCampBot.BotManager.RegionsKnown |
|
getset |
Random pCampBot.BotManager.Rng |
|
getset |
The documentation for this class was generated from the following file: