pCampbot: added behavior that mimic initial inventory download. It's not exactly what the viewer does, but it's close enough, and the elapsed time can be measured.

This commit is contained in:
Diva Canto
2015-05-07 12:37:49 -07:00
parent 8676b017b2
commit cc1fc400d8
2 changed files with 124 additions and 0 deletions

View File

@@ -343,6 +343,9 @@ namespace pCampBot
if (abName == "ph2")
newBehaviour = new PhysicsBehaviour2();
if (abName == "inv")
newBehaviour = new InventoryDownloadBehaviour();
if (newBehaviour != null)
{
behaviours.Add(newBehaviour);