public ObjectInterface(METAboltInstance instance, frmMapClient testClient)
        {
            this.instance = instance;
            client = this.instance.Client;

            Name = "Objects";
            Description = "Objects around the bot";
        }
        public ObjectInterface(METAboltInstance instance, frmMapClient testClient)
        {
            this.instance = instance;
            client        = this.instance.Client;

            Name        = "Objects";
            Description = "Objects around the bot";
        }
Beispiel #3
0
        public MinimapInterface(METAboltInstance instance, frmMapClient mapClient)
        {
            this.instance = instance;
            netcom        = this.instance.Netcom;
            client        = this.instance.Client;

            //Name = client.Network.CurrentSim.Name; // "Minimap";
            //Description = "Current SIM";

            //client.Grid.OnGridItems += new GridManager.GridItemsCallback(Grid_OnGridItems);
            //client.Grid.RequestMapItems(client.Network.CurrentSim.Handle, OpenMetaverse.GridItemType.Telehub, GridLayerType.Terrain);

            client.Grid.OnCoarseLocationUpdate += new GridManager.CoarseLocationUpdateCallback(Grid_OnCoarseLocationUpdate);
            client.Network.OnCurrentSimChanged += new NetworkManager.CurrentSimChangedCallback(Network_OnCurrentSimChanged);

            printMap();

            //client.Grid.RequestMapItems(client.Network.CurrentSim.Handle, OpenMetaverse.GridItemType.AgentLocations,OpenMetaverse.GridLayer  );
        }
        public MinimapInterface(METAboltInstance instance, frmMapClient mapClient)
        {
            this.instance = instance;
            netcom = this.instance.Netcom;
            client = this.instance.Client;

            //Name = client.Network.CurrentSim.Name; // "Minimap";
            //Description = "Current SIM";

            //client.Grid.OnGridItems += new GridManager.GridItemsCallback(Grid_OnGridItems);
            //client.Grid.RequestMapItems(client.Network.CurrentSim.Handle, OpenMetaverse.GridItemType.Telehub, GridLayerType.Terrain);

            client.Grid.OnCoarseLocationUpdate += new GridManager.CoarseLocationUpdateCallback(Grid_OnCoarseLocationUpdate);
            client.Network.OnCurrentSimChanged += new NetworkManager.CurrentSimChangedCallback(Network_OnCurrentSimChanged);

            printMap();

            //client.Grid.RequestMapItems(client.Network.CurrentSim.Handle, OpenMetaverse.GridItemType.AgentLocations,OpenMetaverse.GridLayer  );
        }