Example #1
0
 public RadarChatPlugin(PubComb plug)
 {
     start = System.DateTime.Now;
     plugin = plug;
     shared = plug.SharedInfo;
     form = new RadarChatForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.proxy.AddDelegate(PacketType.UUIDNameReply, Direction.Incoming, new PacketDelegate(GotName));
     this.proxy.AddDelegate(PacketType.CoarseLocationUpdate, Direction.Incoming, new PacketDelegate(LocationIN));
     this.proxy.AddDelegate(PacketType.SoundTrigger, Direction.Incoming, new PacketDelegate(inSound));
 }
Example #2
0
 public RadarChatPlugin(PubComb plug)
 {
     start      = System.DateTime.Now;
     plugin     = plug;
     shared     = plug.SharedInfo;
     form       = new RadarChatForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.proxy.AddDelegate(PacketType.UUIDNameReply, Direction.Incoming, new PacketDelegate(GotName));
     this.proxy.AddDelegate(PacketType.CoarseLocationUpdate, Direction.Incoming, new PacketDelegate(LocationIN));
     this.proxy.AddDelegate(PacketType.SoundTrigger, Direction.Incoming, new PacketDelegate(inSound));
 }