Method PlayerBotsMgr:AddPlayerbotData [-] [+]
Attaches playerbot data to the given Player.
This is bot lifetime management normally driven by the module itself. Calling it on a Player that already carries the matching data leaks the previous one.
Synopsis
PlayerBotsMgr:AddPlayerbotData( player, isBotAI )
Arguments
Player player- See method description.
boolean isBotAITrue to attach a bot AI, false to attach a bot manager.
Returns
Nothing.