protected new void doStuff()
        {
            imgManager = new ImageManager(client, ImageManager.CacheTypes.Disk, OutputDirectory);
            imgManager.OnImageRetrieved += new ImageRetrievedCallback(NewImageRetrievedCallBack);

            while (TextureQueue.Count > 0)
            {
                imgManager.RequestImageAsync(TextureQueue.Dequeue());
            }

            Console.WriteLine("Press any key to stop.");
            Console.Read();
        }
 /// <summary>
 /// Default constructor
 /// </summary>
 public SecondLife()
 {
     // These are order-dependant
     Network = new NetworkManager(this);
     Settings = new Settings(this);
     Parcels = new ParcelManager(this);
     Self = new MainAvatar(this);
     Avatars = new AvatarManager(this);
     Grid = new GridManager(this);
     Objects = new ObjectManager(this);
     Groups = new GroupManager(this);
     Assets = new AssetManager(this);
     Images = new ImageManager(this);
     Inventory = new InventoryManager(this);
     Throttle = new AgentThrottle(this);
 }
示例#3
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public SecondLife()
 {
     // These are order-dependant
     Network = new NetworkManager(this);
     Settings = new Settings(this);
     Parcels = new ParcelManager(this);
     Self = new MainAvatar(this);
     Avatars = new AvatarManager(this);
     Friends = new FriendManager(this);
     Grid = new GridManager(this);
     Objects = new ObjectManager(this);
     Groups = new GroupManager(this);
     Assets = new libsecondlife.AssetSystem.AssetManager(this);
     Appearance = new libsecondlife.AssetSystem.AppearanceManager(this);
     Images = new ImageManager(this);
     Inventory = new InventoryManager(this);
     Directory = new DirectoryManager(this);
     Terrain = new TerrainManager(this);
     Throttle = new AgentThrottle(this);
 }