Beispiel #1
0
 public HighPlugin(PubComb plug)
 {
     plugin = plug;
     shared = plug.SharedInfo;
     form = new HighForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.frame.AddCommand("/high", new ProxyFrame.CommandDelegate(this.CmdHigh));
     this.frame.AddCommand("/tp", new ProxyFrame.CommandDelegate(this.CmdTp));
     this.proxy.AddDelegate(PacketType.ObjectSelect, Direction.Outgoing, new PacketDelegate(this.ToHigh));
     this.proxy.AddDelegate(PacketType.ObjectDeselect, Direction.Outgoing, new PacketDelegate(this.ToHigh));
 }
Beispiel #2
0
 public HighPlugin(PubComb plug)
 {
     plugin     = plug;
     shared     = plug.SharedInfo;
     form       = new HighForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.frame.AddCommand("/high", new ProxyFrame.CommandDelegate(this.CmdHigh));
     this.frame.AddCommand("/tp", new ProxyFrame.CommandDelegate(this.CmdTp));
     this.proxy.AddDelegate(PacketType.ObjectSelect, Direction.Outgoing, new PacketDelegate(this.ToHigh));
     this.proxy.AddDelegate(PacketType.ObjectDeselect, Direction.Outgoing, new PacketDelegate(this.ToHigh));
 }