Example #1
0
        public ClientDetection(PubComb plugin)
        {
            //formthread = new Thread(new ThreadStart(delegate()
            //{
                form = new ClientDetectForm1(this);
              //  Application.Run(form);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();*/
            this.plugin = plugin;

            this.frame = plugin.frame;
            this.proxy = plugin.frame.proxy;
            this.SharedInfo = plugin.SharedInfo;

            this.proxy.AddDelegate(PacketType.ObjectUpdate, Direction.Incoming, new PacketDelegate(inObj));
            this.proxy.AddDelegate(PacketType.AvatarAppearance, Direction.Incoming, new PacketDelegate(inClo));
        }
Example #2
0
        public ClientDetection(PubComb plugin)
        {
            //formthread = new Thread(new ThreadStart(delegate()
            //{
            form = new ClientDetectForm1(this);
            //  Application.Run(form);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();*/
            this.plugin = plugin;

            this.frame      = plugin.frame;
            this.proxy      = plugin.frame.proxy;
            this.SharedInfo = plugin.SharedInfo;

            this.proxy.AddDelegate(PacketType.ObjectUpdate, Direction.Incoming, new PacketDelegate(inObj));
            this.proxy.AddDelegate(PacketType.AvatarAppearance, Direction.Incoming, new PacketDelegate(inClo));
        }