Ejemplo n.º 1
0
 public CamLoader(Client client, ProxyBase proxy, Action<string> logMethod)
 {
     this.client = client;
     this.proxy = proxy;
     this.logMethod = logMethod;
     InitializeComponent();
 }
Ejemplo n.º 2
0
 public override void Enable()
 {
     Host.DefaultProfile.Set(this, "test", "hello world");
     client = this.Host.Client;
     proxy = this.Host.Proxy;
     proxy.ReceivedSelfAppearIncomingPacket += new ProxyBase.IncomingPacketListener(ReceivedSelfAppearIncomingPacket);
     proxy.ReceivedPlayerSpeechOutgoingPacket += new ProxyBase.OutgoingPacketListener(ReceivedPlayerSpeechOutgoingPacket);
 }
Ejemplo n.º 3
0
        private void Start()
        {
            if (useHookProxy)
            {
                proxy = new HookProxy(client);
                AddHooks();
            }
            else
            {
                client.IO.Proxy.AllowIncomingModification = false;
                client.IO.Proxy.AllowOutgoingModification = false;
                proxy = client.IO.Proxy;
                AddHooks();
            }

            if (client.LoggedIn)
            {
                currentLocation = GetPlayerLocation();
            }

            uxLog.Clear();
            uxStart.Text = "Stop Map Tracking";
            tracking = true;
        }